> -Original Message-
> From: Xavier Ambrosioni [mailto:[EMAIL PROTECTED]
> Sent: Thursday, June 19, 2003 1:26 AM
> To: [EMAIL PROTECTED]
> Subject: Using socket in perl
>
>
> Hello all,
>
> I'm writing a server and a client in perl. My client communica
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";