You are viewing a plain text version of this content. The canonical link for it is here.
Posted to docs-cvs@perl.apache.org by to...@apache.org on 2010/04/19 12:43:32 UTC

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


Re: svn commit: r935520 - /perl/modperl/docs/trunk/src/docs/2.0/api/APR/Socket.pod

Posted by "Philippe M. Chiasson" <go...@ectoplasm.org>.
On 10-04-19 06:43 , torsten@apache.org wrote:
> 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

This should be 2.0.5

-- 
Philippe M. Chiasson     GPG: F9BFE0C2480E7680 1AE53631CB32A107 88C3A5A5
http://gozer.ectoplasm.org/       m/gozer\@(apache|cpan|ectoplasm)\.org/