-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
perl_file ///
use IO::Socket::Timeout;
creates a standard IO::Socket::INET object, with a connection timeout
my $socket = IO::Socket::INET->new( Timeout => 2 );
enable read and write timeouts on the socket
IO::Socket::Timeout->enable_timeouts_on($socket);
setup the timeouts
$socket->read_timeout(60);
$socket->write_timeout(60);
error ///
setsockopt(SO_RCVTIMEO): Bad file descriptor at /usr/local/share/perl5/IO/Socket/Timeout.pm line 49
Metadata
Metadata
Assignees
Labels
No labels