When reading from a IO::Socket::INET filehandle it can not be assumed that there will always be data available on the stream. What techniques are available to either peek at the stream to check if data is available or when doing the read take no data without a valid line termination and immediately pass through the read?
When reading from a IO::Socket::INET filehandle it can not be assumed that there will
Share
Set the
Blockingoption to0when creating the socket: