package sfml

  1. Overview
  2. Docs
type t
val create : unit -> t
val copy : selector:t -> t
val destroy : selector:t -> unit
val addTcpListener : selector:t -> socket:SFTcpListener.t -> unit
val addTcpSocket : selector:t -> socket:SFTcpSocket.t -> unit
val addUdpSocket : selector:t -> socket:SFUdpSocket.t -> unit
val removeTcpSocket : selector:t -> socket:SFTcpSocket.t -> unit
val clear : selector:t -> unit
val wait : selector:t -> ?timeout:SFTime.t -> unit -> bool
val isTcpListenerReady : selector:t -> socket:SFTcpListener.t -> bool
val isTcpSocketReady : selector:t -> socket:SFTcpSocket.t -> bool
val isUdpSocketReady : selector:t -> socket:SFUdpSocket.t -> bool
OCaml

Innovation. Community. Security.