jeffw has asked for the wisdom of the Perl Monks concerning the following question:
$peeraddr = recv $sock, $buffer, 65507, 0;I've confirmed that $sock is still defined and that the select allowing this code to be executed is saying there is data on the socket. I really don't want to go non-blocking on a UDP socket handling messages from a few hundred clients (nightmare). Any thoughts?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: recv blocks even with data to receive
by Anonymous Monk on Feb 16, 2005 at 03:39 UTC | |
by jeffw (Initiate) on Feb 16, 2005 at 17:23 UTC | |
|
Re: recv blocks even with data to receive
by chromatic (Archbishop) on Feb 16, 2005 at 00:42 UTC | |
by jeffw (Initiate) on Feb 16, 2005 at 01:02 UTC | |
|
Re: recv blocks even with data to receive
by FitTrend (Pilgrim) on Feb 16, 2005 at 02:19 UTC | |
by jeffw (Initiate) on Feb 16, 2005 at 17:20 UTC |