in reply to Waiting forever?
Will this cause my program to wait indefinitely for something to come through from the socket before executing any further code below it?If the socket is blocking then it could potentially wait forever, however if it's non-blocking then there'll be no waiting. To switch the behaviour of a socket you should be able to use the blocking() method inherited from IO::Handle e.g
Will turn on non-blocking for $socket. See perlipc and IO::Handle for more info.$socket->blocking( 1 );
_________
broquaint
|
|---|