Socket::Linux(3pm)

Socket::Linux3pm

Socket constants defined in linux <netinet/tcp.h>

Usage

  use Socket qw(IPPROTO_TCP);
  use Socket::Linux qw(TCP_KEEPINTVL TCP_KEEPIDLE TCP_KEEPCNT);
  setsockopt($sock, IPPROTO_TCP, TCP_KEEPIDLE,  10);
  setsockopt($sock, IPPROTO_TCP, TCP_KEEPINTVL, 10);
  setsockopt($sock, IPPROTO_TCP, TCP_KEEPCNT,    3);

Overview

Exports to perl the constants defined in Linux <netinet/tcp.h>

Releases

7 releases since Debian 7 (Wheezy); the text changed 6 times.

  1. 7
  2. 8
  3. 9
  4. 10
  5. 11
  6. 12
  7. 13

Author

Salvador Fandiño ([email protected])

From libsocket-linux-perl 0.01-3+b4 in Debian 13 (Trixie). Parsed by carta from the page's man source.