Functor Cf_sock_stream.Create


module Create: 
functor (P : Cf_socket.P with module ST = Cf_socket.SOCK_STREAM) -> T with module P = P
The functor used to create the socket module.
Parameters:
P : Cf_socket.P with module ST = Cf_socket.SOCK_STREAM

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.