class type protocol =object..end
method name : stringThe protocol name is an arbitrary string identifying groups of
sockets serving the same protocol for a socket_service.
method addresses : extended_address arrayThe addresses of the master sockets. (The socket type is always SOCK_STREAM.) The list must be non-empty.
method lstn_backlog : intThe backlog (argument of Unix.listen)
method lstn_reuseaddr : boolWhether to reuse ports immediately
method so_keepalive : boolWhether to set the keep-alive socket option
method tcp_nodelay : boolWhether to set the TCP_NODELAY option
method local_chmod : int optionWhether to chmod Unix Domain sockets
method local_chown : (int * int) optionWhether to chown (user,group) Unix Domain sockets
method configure_slave_socket : Unix.file_descr -> unitA user-supplied function to configure slave sockets (after accept).
The function is called from the process/thread of the container.