package osc
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
Types and functions for handling OSC servers.
val create : T.sockaddr -> int -> t T.Io.t
create 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.result
T.Io.t
Retrieve a packet sent to the server, as well as the sending client's address.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>