Re: Checking if a socket has some data to readby 5mi11er (Deacon)
|on Jun 13, 2013 at 17:57 UTC||Need Help??|
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".