![]() |
|
Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
comment on |
( #3333=superdoc: 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 reply to Re: Listening on multiple ports using IO::Select
by jasonk
|
|