The Wayback Machine - https://web.archive.org/web/20160128091801/http://perldoc.perl.org:80/functions/setsockopt.html

Perl version

Modules

  • ABCDE
  • FGHIL
  • MNOPS
  • TUX

setsockopt

Perl 5 version 22.0 documentation

Please note: Many features of this site require JavaScript. You appear to have JavaScript disabled, or are running a non-JavaScript capable web browser.

To get the best experience, please enable JavaScript or download a modern web browser such as Internet Explorer 8, Firefox, Safari, or Google Chrome.

Recently read

setsockopt

  • setsockopt SOCKET,LEVEL,OPTNAME,OPTVAL

    Sets the socket option requested. Returns undef on error. Use integer constants provided by the Socket module for LEVEL and OPNAME. Values for LEVEL can also be obtained from getprotobyname. OPTVAL might either be a packed string or an integer. An integer OPTVAL is shorthand for pack("i", OPTVAL).

    An example disabling Nagle's algorithm on a socket:

    1. use Socket qw(IPPROTO_TCP TCP_NODELAY);
    2. setsockopt($socket, IPPROTO_TCP, TCP_NODELAY, 1);

    Portability issues: setsockopt in perlport.

 
Morty Proxy This is a proxified and sanitized view of the page, visit original site.