package sfml

  1. Overview
  2. Docs
Bindings to the SFML multimedia library

Install

Dune Dependency

Authors

Maintainers

Sources

ocaml-sfml-0.09.2.tar.gz
sha256=ce1e50dec69a4495232261627a359a8fb54d79788147380bee78b0983f8b6951
md5=9ae99bb47bb68d5181d01b7bbc78a351

doc/sfml.network_oo/Oo_sfml_network/class-tcp_socket/index.html

Class Oo_sfml_network.tcp_socket

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:bytes -> 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
OCaml

Innovation. Community. Security.