Forums > MaxMSP

forging raw bytes and sending them over UDP

March 18, 2011 | 3:08 pm

Hello,
I need to forge UDP datagram with specific 8 bytes length data payload.

I have to control a showcontrol proDAP (interface to control a big DMX network) by sending those bytes to trigger sequence etc.

Using wireshark to verify that, I figured out I cannot do that with udpsend.

So I discovered aka and http://cycling74.com/forums/topic.php?id=30765
But using windows on all my installations, I can't use aka (or I didn't figure out how to use it)

Any ideas? trick ? tips?

[attachment=156815,1941]

Attachments:
  1. datasheet.png

March 18, 2011 | 3:26 pm

Check out the UDP objects in sadam library, have used it for receiving raw UDP…


March 18, 2011 | 3:27 pm

ok Luke & thanks!
checking that right now :)

reposting later!


March 18, 2011 | 3:59 pm

I developed some mxj objects to send and receive raw UDP bytes for Art-Net DMX control. Have a look at the source, it should be pretty easy to modify for your purposes.


March 18, 2011 | 4:05 pm

using sadam.udpSender, it works very well
I verified it on wireshark

thanks a lot for the 2 java.
I'll check them too !
If I think about using them, I'll ask you before!

thanks a lot !

[attachment=156824,1944]

Attachments:
  1. rawBytes.png

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