Mailing List Archive

svn commit: r935520 - /perl/modperl/docs/trunk/src/docs/2.0/api/APR/Socket.pod
Author: torsten
Date: Mon Apr 19 10:43:32 2010
New Revision: 935520

URL: http://svn.apache.org/viewvc?rev=935520&view=rev
Log:
make the UNIX-level file descriptor of an APR::Socket available

Modified:
perl/modperl/docs/trunk/src/docs/2.0/api/APR/Socket.pod

Modified: perl/modperl/docs/trunk/src/docs/2.0/api/APR/Socket.pod
URL: http://svn.apache.org/viewvc/perl/modperl/docs/trunk/src/docs/2.0/api/APR/Socket.pod?rev=935520&r1=935519&r2=935520&view=diff
==============================================================================
--- perl/modperl/docs/trunk/src/docs/2.0/api/APR/Socket.pod (original)
+++ perl/modperl/docs/trunk/src/docs/2.0/api/APR/Socket.pod Mon Apr 19 10:43:32 2010
@@ -51,6 +51,8 @@ APR::Socket - Perl API for APR sockets
# handle the condition
}

+ # fetch the operating level socket
+ my $fd=$sock->sock_get;


=head1 Description
@@ -418,6 +420,38 @@ For examples see the C<L<recv|/C_recv_>>



+=head2 C<sock_get>
+
+Get the operating system socket, the file descriptor on UNIX.
+On Windows this function returns C<-1> to indicate it is not implemented.
+
+ $fd = $sock->sock_get;
+
+=over 4
+
+=item obj: C<$sock>
+( C<L<APR::Socket object|docs::2.0::api::APR::Socket>> )
+
+The socket
+
+=item ret: C<$fd> ( integer )
+
+The OS-level file descriptor.
+
+=item since: 2.0.00
+
+=back
+
+
+
+
+
+
+
+
+
+
+
=head2 C<timeout_get>

Get socket timeout settings



---------------------------------------------------------------------
To unsubscribe, e-mail: docs-cvs-unsubscribe@perl.apache.org
For additional commands, e-mail: docs-cvs-help@perl.apache.org