package ocamlnet

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type 'a polyendpoint = 'a Netsys_polypipe.polypipe * 'a Netsys_polypipe.polypipe
type 'a polyclient
type 'a polyserver
val create_client : int -> 'a polyclient
val connect : 'a polyclient -> 'a polyserver -> unit
val endpoint : synchronous:bool -> nonblock:bool -> 'a polyclient -> 'a polyendpoint
val close_client : 'a polyclient -> unit
val set_connect_notify : 'a polyclient -> (unit -> unit) -> unit
val connect_descr : 'a polyclient -> Unix.file_descr
val create_server : unit -> 'a polyserver
val accept : nonblock:bool -> 'a polyserver -> 'a polyendpoint
val refuse : nonblock:bool -> 'a polyserver -> unit
val pending_connection : 'a polyserver -> bool
val close_server : 'a polyserver -> unit
val set_accept_notify : 'a polyserver -> (unit -> unit) -> unit
val accept_descr : 'a polyserver -> Unix.file_descr
OCaml

Innovation. Community. Security.