SFUdpSocketOnline documentation for the UdpSocket class
val create : unit -> tval destroy : socket:t -> unitval setBlocking : socket:t -> blocking:bool -> unitval bind : socket:t -> ?address:SFIpAddress.t -> port:int -> unitval unbind : socket:t -> unitval send : socket:t -> data:string -> address:SFIpAddress.t -> port:int -> unitval receive : socket:t -> data:bytes -> int * SFIpAddress.t * intval sendPacket :
socket:t ->
packet:SFPacket.t ->
address:SFIpAddress.t ->
port:int ->
unitval receivePacket : socket:t -> packet:SFPacket.t -> SFIpAddress.t * intval isBlocking : socket:t -> boolval getLocalPort : socket:t -> int