develooper Front page | perl.perl5.porters | Postings from June 2008

Bug report IO::Socket

Thread Next
From:
vakulya
Date:
June 19, 2008 09:43
Subject:
Bug report IO::Socket
Message ID:
1213891257.485a82b932dc0@www.dcs.vein.hu
Hi!

If I make a socket client:
$sock = new IO::Socket::INET (
PeerAddr => $ip,
PeerPort => $port,
Proto => 'tcp',);

and the server close the connection, the print $sock "foo"; dies without any
error or warning message. With an older version (I don't know the version
number) I used the following code:

print $socket "foo" || reconnect;

Now, it simply exits from the program.

The Perl version is: v5.10.0 built for i686-linux-thread-multi

The IO::Socket version is: 1.30_01

By(t)e
TBS::Antiemes

----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.

Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About