in reply to Problems reading back from socket
You could confirm this by adding debugging output to your program, or running it in the Perl debugger.
I'd also recommend adding more error checking; right now you wouldn't notice if the socket creation failed, or the prints to the socket failed, since you're not checking their return values. Checking the return value from close also sometimes shows errors that were delayed, or caused the socket to close.
|
|---|