package sfml

  1. Overview
  2. Docs
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/SFTcpListener/index.html

Module SFTcpListener

Online documentation for the TcpListener class

type t
exception Socket_Not_Ready
exception Socket_Disconnected
exception Socket_Error
val init : unit -> unit
val create : unit -> t
val destroy : listener:t -> unit
val setBlocking : listener:t -> blocking:bool -> unit
val isBlocking : listener:t -> bool
val getLocalPort : listener:t -> int
val listen : listener:t -> ?address:SFIpAddress.t -> port:int -> unit
val accept : listener:t -> SFTcpSocket.t
OCaml

Innovation. Community. Security.