module Where_to_listen:sig
..end
Where_to_listen
describes the socket that a tcp server should listen on.type ([< Import.Socket.Address.t ], 'listening_on)
t
typeinet =
(Import.Socket.Address.Inet.t, int) t
typeunix =
(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