In perl.git, the branch blead has been updated

<http://perl5.git.perl.org/perl.git/commitdiff/321499b5be1bfbade4d0e2e11136d1d4d87a5e7f?hp=065144c63ee2795acbc962d225b0a3f8d7967ae3>

- Log -----------------------------------------------------------------
commit 321499b5be1bfbade4d0e2e11136d1d4d87a5e7f
Author: Slaven Rezic <[email protected]>
Date:   Thu Apr 29 16:04:35 2010 +0200

    Document IO::Socket getsockopt and setsockopt
    
    get/setsockopt are not explicitly documented. Note that the documented
    sockopt() method is a wrapper around get/setsockopt, but does not cover
    all cases because of the hardcoded level (= SOL_SOCKET).
-----------------------------------------------------------------------

Summary of changes:
 dist/IO/lib/IO/Socket.pm |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)

diff --git a/dist/IO/lib/IO/Socket.pm b/dist/IO/lib/IO/Socket.pm
index 9938c78..6d4f6ab 100644
--- a/dist/IO/lib/IO/Socket.pm
+++ b/dist/IO/lib/IO/Socket.pm
@@ -493,6 +493,16 @@ an AF_INET socket the value of &AF_INET will be returned.
 Unified method to both set and get options in the SOL_SOCKET level. If called
 with one argument then getsockopt is called, otherwise setsockopt is called.
 
+=item getsockopt(LEVEL, OPT)
+
+Get option associated with the socket. Other levels than SOL_SOCKET
+may be specified here.
+
+=item setsockopt(LEVEL, OPT, VAL)
+
+Set option associated with the socket. Other levels than SOL_SOCKET
+may be specified here.
+
 =item socktype
 
 Returns the numerical number for the socket type. For example, for

--
Perl5 Master Repository

Reply via email to