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-udp_socket/index.html

Class Oo_sfml_network.udp_socket

val socket : SFUdpSocket.t
method bind : port:int -> ?address:SFIpAddress.t -> unit
method destroy : unit -> unit
method receive : data:bytes -> int * SFIpAddress.t * int
method receive_packet : packet:packet -> SFIpAddress.t * int
method send : data:string -> address:SFIpAddress.t -> port:int -> unit
method send_packet : packet:packet -> address:SFIpAddress.t -> port:int -> unit
method set_blocking : blocking:bool -> unit
method t : SFUdpSocket.t
method unbind : unit -> unit
OCaml

Innovation. Community. Security.