class type protocol = object
.. end
method name : string
The protocol name is an arbitrary string identifying groups of
sockets serving the same protocol for a socket_service
.
method addresses : Unix.sockaddr array
The addresses of the master sockets. (The socket type is always
SOCK_STREAM.) The list must be non-empty.
method lstn_backlog : int
The backlog (argument of Unix.listen)
method lstn_reuseaddr : bool
Whether to reuse ports immediately
method so_keepalive : bool
Whether to set the keep-alive socket option
method configure_slave_socket : Unix.file_descr -> unit
A user-supplied function to configure slave sockets (after accept
).
The function is called from the process/thread of the container.