Module Cf_ip_common


module Cf_ip_common: sig .. end
The well-known protocol identifiers for IPv4 and IPv6 protocols.

val zero : Cf_socket.protocol
The unspecified Internet protocol identifier.
val icmp : Cf_socket.protocol
The Internet Control and Management Protocol.
val ipv4 : Cf_socket.protocol
The Internet Protocol (version 4) for tunneling.
val ipv6 : Cf_socket.protocol
The Internet Protocol (version 6) for tunneling.
val tcp : Cf_socket.protocol
The Internet Transmission Control Protocol.
val udp : Cf_socket.protocol
The Internet User Datagram Protocol.

Socket Options

The following socket options are available on sockets of AF_INET and AF_INET6 address/protocol families.

val tcp_nodelay : (bool, [< `AF_INET | `AF_INET6 ], [ `SOCK_STREAM ]) Cf_socket.sockopt
Disables the Nagle algorithm for TCP connections.