![]() |
|
No such thing as a small change | |
PerlMonks |
Re: Reading from a socketby ozone (Friar) |
on May 17, 2002 at 12:31 UTC ( #167282=note: print w/replies, xml ) | Need Help?? |
Well, you don't say whether you're using standard sockets, but if you are, the easier way is to use IO::Socket::INET to connect to the server, then set it to non-blocking mode like so:
You can the use IO::Select to find out when some data is ready for reading. HTH.
In Section
Seekers of Perl Wisdom
|
|