module Socket: sig endThe sockets offered by this module are comparable.
Every send message is read as a whole. (They are not divided and do not concatenate).
Operations provided by this module should not be mixed with the ones
provided by Tcp
type t
val create : Tcp.socket -> tTcp.socket.val send : t -> string -> unitsend socket message sends the given messageval queue : t -> string -> unitqueue socket message adds the given message to send queue of socketval flush : t -> unitflush socket sends whole send queue of socketval recv : t -> string listrecv socket message returns a list of messages received.
(max 1 per call)val force_recv : t -> string
val destroy : t -> unitdestroy socket closes the socket and deletes its buffer at all