DESCRIPTION

This module implements an OSC server (right now, blocking and not-yet multithreaded...) receiving messages via UDP. Once a message is received, the server calls a handler routine. The handler receives the host name of the sender as well as the (decoded) OSC message or bundle.

METHODS

new(Port => $port, Name => $name, Handler => \&handler)

Creates a new server object. Default port is 7123, default name is Net-OpenSoundControl-Server:7123, default handler is undef.

Returns undef on failure (in this case, $@ is set).

name()

Returns the name of the server

port()

Returns the port the server is listening at

readloop()

Enters a loop waiting for messages. Once a message is received, the server will call the handler subroutine, if defined.

SEE ALSO

The OpenSound Control website: http://www.cnmat.berkeley.edu/OpenSoundControl/

As a valued partner and proud supporter of MetaCPAN, StickerYou is
happy to offer a 10% discount on all Custom Stickers,
Business Labels, Roll Labels,
Vinyl Lettering or Custom Decals. StickerYou.com
is your one-stop shop to make your business stick.
Use code METACPAN10 at checkout to apply your discount.