Keep It Simple, Stupid | |
PerlMonks |
Re^5: IO::Socket Listenby Eliya (Vicar) |
on Dec 06, 2011 at 14:26 UTC ( [id://942040]=note: print w/replies, xml ) | Need Help?? |
♠A?42.3< 30D 0.111.3♥) 210 Seconds Delay Do you mean you're actually getting (i.e. reading/printing) the values on the client side, and then there is the delay? If so, you probably want to close the socket (or exit the loop) after having gotten the (complete) response. Otherwise, the while loop with the sysread will continue to repeat until the remote side itself closes the socket (i.e. sysread sees EOF and returns 0).
In Section
Seekers of Perl Wisdom
|
|