forging raw bytes and sending them over UDP

Julien Bayle's icon

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 https://cycling74.com/forums/sending-8-bit-bytes-via-udp
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?

1941.datasheet.png
png
Luke Woodbury's icon

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

Julien Bayle's icon

ok Luke & thanks!
checking that right now :)

reposting later!

David Butler's icon

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.

1943.ArtNetByteSend.java
java
Julien Bayle's icon

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 !

1944.rawBytes.png
png
Shaikat Hossain's icon

David, could you share your class for the receiver as well?