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
SFTcpSocket
Online documentation for the TcpSocket class
val create : unit -> t
val destroy : socket:t -> unit
val connect :
socket:t ->
port:int ->
address:SFIpAddress.t ->
?timeout:SFTime.t ->
unit ->
unit
val disconnect : socket:t -> unit
val setBlocking : socket:t -> blocking:bool -> unit
val isBlocking : socket:t -> bool
val send : socket:t -> data:string -> unit
val send_sub : socket:t -> data:string -> ofs:int -> len:int -> unit
val receive : socket:t -> data:bytes -> int
val receive_str : socket:t -> string
val sendPacket : socket:t -> packet:SFPacket.t -> unit
val receivePacket : socket:t -> packet:SFPacket.t -> unit
val getLocalPort : socket:t -> int
val getRemotePort : socket:t -> int
val getRemoteAddress : socket:t -> SFIpAddress.t
ON THIS PAGE
No table of contents