Forums > MaxMSP

Is there a way to receive any UDPmesage using Udpreceive

April 7, 2013 | 2:47 pm

Hello

I’ve written a tinny udp client that runs in my iPhone. Every time a message is sent to any Mac computer running a Udpreceive in Max6.1.1 , I get some message warning about the fact that sent information is not OSC compliant. I knew that Udpreceive could process OSC infornation. The think i did’nt know was that actually it seems to be the only messages it accept. net.udp.recv acepts any messages i send to it, but i’prefere working with Udpreceive. Is there a way to force it to process any UDP packet?

Manu thanks for any ideas

José Manuel


April 7, 2013 | 3:19 pm

Hi,

AFAIK, you can not turn off OSC in udpsend/udpreceive. However, for this exact reason I made a set of externals (called [sadam.udpSender], [sadam.tcpSender], [sadam.udpReceiver] and [sadam.tcpReceiver]) which will let you send/receive raw binary data on UDP/TCP without the need for Java. You may access them from http://www.sadam.hu/software .

Hope that helps,
Ádám


April 8, 2013 | 11:47 pm

Thank you so much for your quick replay, Siska. That helps a lot. I will try your objects!

Best wishes

José Manuel


Viewing 3 posts - 1 through 3 (of 3 total)