Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re^2: TCP Server hangs with multiple client connections

by rmahin (Beadle)
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!


Comment on Re^2: TCP Server hangs with multiple client connections
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://985101]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (6)
As of 2015-07-04 18:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (60 votes), past polls