19 Aug
2010
19 Aug
'10
12:49 a.m.
Hello, Is it possible to determine the IP address of the client sending an incoming OSC message? There is no documentation on the API of the OscEvent class. I'm trying to find a way of dealing with multiple OSC clients that are sending the same OSC message. OscRecv incoming; OscEvent event; 1234 => incoming.port; incoming.listen(); server.event("/incoming", "f") @=> event; spork ~ waitForEvent(); fun void waitForEvent() { while (true) { event => now; while (event.nextMsg()) { event.getFloat() => float f; event.getIPAddress() => string client; if (client == ...) { } } } } michael