No description, website, or topics provided.
C++ Perl Perl 6
Switch branches/tags
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
builder
eg
lib/Linux/Socket
t
.gitignore
.travis.yml
Build.PL
Changes
LICENSE
META.json
README.md
cpanfile
minil.toml

README.md

Build Status

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