Class Oo_sfml_network.tcp_socket

class tcp_socket : object .. end

val socket : SFTcpSocket.t
method connect : port:int -> address:SFIpAddress.t -> timeout:SFTime.t -> unit -> unit
method destroy : unit -> unit
method receive : unit -> string
method receive_buf : buf:string -> int
method receive_packet : packet:packet -> unit
method send : data:string -> unit
method send_packet : packet:packet -> unit
method send_sub : data:string -> ofs:int -> len:int -> unit
method set_blocking : blocking:bool -> unit
method t : SFTcpSocket.t