Hello all,

I'm writing a server and a client in perl. My client communicates with
the server using sockets.
I'm using IO::Socket::INET to create the sockets.
My problem is that when my client close the socket, the expressions
"while ($line = <$client>)" is an infinite loop and $line contains "\n";
How can I know in the server when a client close a connection ?

Thanks for your help

(If it's not the right mailing list for this problem, what mailing list
should I use ?)

Xavier

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to