Syohei Yoshida > Linux-Socket-Accept4-0.04 > Linux::Socket::Accept4

Download:
Linux-Socket-Accept4-0.04.tar.gz

Dependencies

Annotate this POD

Website

View/Report Bugs
Module Version: 0.04   Source  

NAME ^

Linux::Socket::Accept4 - accept4(2) bindings for Perl5

SYNOPSIS ^

    use Linux::Socket::Accept4;

    accept4(CSOCK, SSOCK, SOCK_CLOEXEC);

DESCRIPTION ^

Linux::Socket::Accept4 is a wrapper module for accept4(2). This module is only available on GNU Linux.

accept4(2) is faster than accept(2) in some case.

FUNCTIONS ^

my $peeraddr = accept4($csock, $ssock, $flags);

Accept a connection on a socket.

CONSTANTS ^

All constants are exported by default.

SOCK_CLOEXEC
SOCK_NONBLOCK

LICENSE ^

Copyright (C) tokuhirom.

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

AUTHOR ^

tokuhirom <tokuhirom@gmail.com>

SEE ALSO ^

reintroduce accept4
accept4 in ruby
syntax highlighting: