Is there a way to receive any UDPmesage using Udpreceive

José Manuel Berenguer's icon

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

$Adam's icon

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

José Manuel Berenguer's icon

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

Best wishes

José Manuel