![]() |
|
Perl-Sensitive Sunglasses | |
PerlMonks |
Re: Listening on multiple ports using IO::Selectby jasonk (Parson) |
on Mar 19, 2003 at 17:05 UTC ( #244386=note: print w/replies, xml ) | Need Help?? |
Your code says to accept() if the connection is from $server and to close() if it is not, which means connections from $serverB hit the close() part and dump you out. You need to copy that if($client == $server) { section into a if($client == $serverB) { section as well.
In Section
Seekers of Perl Wisdom
|
|