in reply to IO::Socket not reading from server?
Are you sure that the other end is terminating data with a newline?
If they're not, then you won't read anything from the socket.
Try redefining $/ to a character that you know appears in the return string from the socket.
|
|---|