Module Tcp.Where_to_listen

module Where_to_listen: sig .. end
A Where_to_listen describes the socket that a tcp server should listen on.

type ([< Import.Socket.Address.t ], 'listening_on) t 
type inet = (Import.Socket.Address.Inet.t, int) t 
type unix = (Import.Socket.Address.Unix.t, string) t 
val create : socket_type:([< Import.Socket.Address.t ] as 'a) Import.Socket.Type.t ->
address:'a ->
listening_on:('a -> 'listening_on) ->
('a, 'listening_on) t