in reply to Re: program dies when printing to closed socket, I think
in thread program dies when printing to closed socket, I think

I'm sorry, yes in the actual program it is sent line by line (about 100 characters per line), I wrote the code from memory.

I am surprised that no errors whatsoever are throw in my situation.

Am I approaching this correctly by using "$client->connected" before writing anything to the socket? It just doesn't feel Perlish :-)

  • Comment on Re^2: program dies when printing to closed socket, I think