package sfml

  1. Overview
  2. Docs
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.