package sfml
Bindings to the SFML multimedia library
Install
Dune Dependency
Authors
Maintainers
Sources
v0.09.tar.gz
sha256=75e28f425d6c40f39f7aac53b413da3d48ecd50aa88cdf644d38a14897a59a30
md5=01ffc5b471d774f2d6234c639b067f04
doc/sfml.network/SFTcpSocket/index.html
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
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>