in reply to Reading Binary Data via socket ( Converting program from java to perl )
If you want to send binary data through a socket, you have to set it up with binmode:
binmode($socketname);
For a full exmaple, read A simple FTP server, see how it calls binmode when the data being FTP'd is image.
|
|---|