Module CL_TCPConnection

module CL_TCPConnection: sig .. end

API documentation for the class CL_TCPConnection

type tcp_connection 
type t = tcp_connection CL_IODevice.t 
val init : remote:CL_SocketName.t ->
?local:CL_SocketName.t -> unit -> t
val delete : conn:t -> unit
val send : t -> data:string -> ?send_all:bool -> unit -> int
val receive : t -> data:string -> ?receive_all:bool -> unit -> int
val disconnect_graceful : conn:t -> unit
val disconnect_abortive : conn:t -> unit
val set_nodelay : conn:t -> ?enable:bool -> unit -> unit
val get_local_name : unit -> CL_SocketName.t
val get_remote_name : unit -> CL_SocketName.t