hosc-0.11.1: Haskell Open Sound Control

Safe HaskellNone

Sound.OpenSoundControl.Transport.UDP

Description

OSC over UDP implementation.

Synopsis

Documentation

data UDP Source

The UDP transport handle data type.

Constructors

UDP 

Instances

udpPort :: Integral n => UDP -> IO nSource

Return the port number associated with the UDP socket.

openUDP' :: Coder -> String -> Int -> IO UDPSource

Make a UDP connection with specified coder.

udpServer' :: Coder -> String -> Int -> IO UDPSource

Trivial udp server with specified coder.

sendTo :: UDP -> OSC -> SockAddr -> IO ()Source

Send variant to send to specified address.

recvFrom :: UDP -> IO (OSC, SockAddr)Source

Recv variant to collect message source address.