in reply to Checking if a socket has some data to read
You could start by reviewing this: Check network MTU size
It uses code that I stole from Net::Ping and another node from here in the monastery, but definitely uses non-blocking calls, and does actually read some data "off the wire".
-Scott
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Checking if a socket has some data to read
by perlgsm (Initiate) on Jun 14, 2013 at 12:28 UTC | |
by 5mi11er (Deacon) on Jun 14, 2013 at 16:16 UTC | |
by perlgsm (Initiate) on Nov 08, 2013 at 09:18 UTC | |
by perlgsm (Initiate) on Nov 18, 2013 at 15:13 UTC |
In Section
Seekers of Perl Wisdom