module type T = sig
.. end
The type of module created by the Create(P: P) functor.
module P: Cf_socket.P
The module input for the Create(P: Cf_socket.P) functor
type
t = (P.AF.tag, P.ST.tag) Cf_socket.t
The specialized socket type.
type
address = P.AF.address
The specialized address type.
val create : unit -> t
Use create ()
to create a new socket. Raises Unix.Error
if there
is an error.
val createpair : unit -> t * t
Use createpair ()
to create a pair of new sockets that are connected
to one another. Raises Unix.Error
if there is an error.
class basic : ?sock:t -> unit ->
object
.. end
The base class for all sockets of this protocol.