Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer

Re^2: TCP Server hangs with multiple client connections

by rmahin (Scribe)
on Aug 02, 2012 at 20:53 UTC ( #985101=note: print w/replies, xml ) Need Help??

in reply to Re: TCP Server hangs with multiple client connections
in thread TCP Server hangs with multiple client connections

Tried what you suggested, changed it a little though to
while(1) { use strict qw/refs/; use warnings FATAL => 'syntax'; my @ready = $selSock->can_read(10); unless (@ready) {next};
so that it wouldn't die if no clients connected. But anyway, and had no effect that I could see. Thanks for the suggestion though!

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://985101]
[erix]: easy to get wrong -- I guess that was sund's point, too :P
[Discipulus]: planetscape welcome back! (or is well comeback?)
[Discipulus]: fore every 2 good old monks that come back, we will accept 1 clinical
[planetscape]: Might be "well, come back!" Discipulus ;-)
[stonecolddevin]: that's a 2.0 k/d ratio, i'll take it

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (10)
As of 2017-06-22 21:02 GMT
Find Nodes?
    Voting Booth?
    How many monitors do you use while coding?

    Results (530 votes). Check out past polls.