perldelta notes about IO::Socket changes (from Graham Barr)
authorGurusamy Sarathy <gsar@cpan.org>
Fri, 3 Mar 2000 02:04:48 +0000 (02:04 +0000)
committerGurusamy Sarathy <gsar@cpan.org>
Fri, 3 Mar 2000 02:04:48 +0000 (02:04 +0000)
p4raw-id: //depot/perl@5464

pod/perldelta.pod

index bd109ef..a443ff4 100644 (file)
@@ -1630,6 +1630,15 @@ a connect attempt.  This allows you to configure its options
 A bug that prevented the IO::Socket::protocol() accessor
 from ever returning the correct value has been corrected.
 
+IO::Socket::connect now uses non-blocking IO instead of alarm()
+to do connect timeouts.
+
+IO::Socket::accept now uses select() instead of alarm() for doing
+timeouts.
+
+IO::Socket::INET->new now sets $! correctly on failure. $@ is
+still set for backwards compatability.
+
 =item JPL
 
 Java Perl Lingo is now distributed with Perl.  See jpl/README