package sfml
Bindings to the SFML multimedia library
Install
Dune Dependency
Authors
Maintainers
Sources
ocaml-sfml-0.09.2.tar.gz
sha256=ce1e50dec69a4495232261627a359a8fb54d79788147380bee78b0983f8b6951
md5=9ae99bb47bb68d5181d01b7bbc78a351
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)"
>