package osc
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Module Make.Server
Types and functions for handling OSC servers.
val create : T.sockaddr -> int -> t T.Io.tcreate addr buffer_length creates a new server listening on sockaddr. The server will be able to receive messages of length up to buffer_length.
val recv :
t ->
(Types.packet * T.sockaddr,
[ `Missing_typetag_string | `Unsupported_typetag of char ])
Result.t
T.Io.tRetrieve a packet sent to the server, as well as the sending client's address.