It's almost always good to start a script with use strict; That would have made this problem instantly apparent. You probably want to close $client, too.
In reply to Re: New at socket programming
by dws
in thread New at socket programming
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |