in reply to Socket recv?
- You do know you should be using 'use strict;', right?
- You are not checking the return values of either the send or recv. This might shed some light on what is going on
- Closing of the socket will not change $socket to null, or unset it. An exception state on the socket will not terminate the loop
fnord