Module LO.Server

module Server: sig .. end

Operations for creating servers.


type t 

A server.

val create : int -> (string -> LO.Message.data array -> unit) -> t

Create a server listening on given port with handler function taking as agument the path and messages received.

val recv : t -> unit

Recive messages and pass them to the handler. This function is blocking until a message is received.