Vuo
1.2.3
|
Opens a reusable UDP socket, attaches the specified listener to it (on a separate thread), and starts it receiving messages.
Public Member Functions | |
void | listenForMessages (void) |
Runs the receive multiplexer until stopping becomes true and the multiplexer receives a AsynchronousBreak() . | |
VuoOscInSocket (const IpEndpointName &localEndpoint, VuoOscInPacketListener *listener, char *name) | |
Creates a socket on the specified endpoint. | |
void | use (void) |
Increment this socket's retain count. | |
void | disuse (void) |
Decrement this socket's retain count. | |
int | useCount (void) |
Returns this socket's retain count. | |
VuoOscInPacketListener * | listener (void) |
Returns this socket's listener instance. | |
|
inline |
Creates a socket on the specified endpoint.
Invokes the specified listener when a message is received.
|
inline |
Decrement this socket's retain count.
|
inline |
Returns this socket's listener instance.
|
inline |
Runs the receive multiplexer until stopping
becomes true and the multiplexer receives a AsynchronousBreak()
.
Catches and logs exceptions, then resumes listening.
|
inline |
Increment this socket's retain count.
|
inline |
Returns this socket's retain count.