Module type Cf_sock_stream.T


module type T = sig .. end
The type of the module containing the extensions to the Cf_sock_common.T module type used for handling sockets of the SOCK_STREAM socket type.

include Cf_sock_common.T
class initiator : ?sock:t -> ?src:address -> address -> object .. end
Use new initiator ?sock ?src addr to construct an object derived from Cf_sock_common.T.basic that sports a method for connecting to a remote peer endpoint at the address addr.
class listener : ?sock:t -> address -> object .. end
Use new listener ?sock addr to construct an object derived from Cf_sock_common.T.basic that sports methods for passive listening for incoming connections at the local address addr.
class endpoint : t -> object .. end
Use new endpoint sock to construct an object derived from Cf_sock_common.T.basic that sports methods for sending data to and receiving data from an already connected socket sock.