in reply to How can I send more than 1MB to a TCP socket?
I'd be very careful about slurping the entire file into memory ( @1MB = <LOG>;) especially with the 100 & 500MB files. I'd probably use a while loop to iterate through the file and send smaller chunks of data one at a time to the server.
|
|---|