sfml
Bindings to the SFML multimedia library
1024" x-on:close-sidebar="sidebar=window.innerWidth > 1024 && true">
package sfml
-
sfml_audio_oo
-
sfml_graphics_oo
-
sfml_system
-
sfml_system_oo
-
sfml_window_oo
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
Library sfml_network
Module
SFUdpSocket
Online documentation for the UdpSocket class
val create : unit -> t
val destroy : socket:t -> unit
val setBlocking : socket:t -> blocking:bool -> unit
val bind : socket:t -> ?address:SFIpAddress.t -> port:int -> unit
val unbind : socket:t -> unit
val send : socket:t -> data:string -> address:SFIpAddress.t -> port:int -> unit
val receive : socket:t -> data:bytes -> int * SFIpAddress.t * int
val sendPacket :
socket:t ->
packet:SFPacket.t ->
address:SFIpAddress.t ->
port:int ->
unit
val receivePacket : socket:t -> packet:SFPacket.t -> SFIpAddress.t * int
val isBlocking : socket:t -> bool
val getLocalPort : socket:t -> int
ON THIS PAGE
No table of contents