Page 1 of 1

UDP byte array examples?

Posted: Fri Sep 29, 2017 7:59 pm
by talldrinks
Hi!
Are there any examples posted of what the byte array should look like in the UDP data over network API?

I see the page outlining the byte values and such but I'm just learning bytes and UDP actually.

I see there is a header required as well:
"The byte array must contain a header (type + length) and the axis values."

Any help appreciated!
I basically just want to send a test packet over UDP from my C# app, which represents some xbox one buttons and analog axis values.

Thanks!

Re: UDP byte array examples?

Posted: Wed Oct 04, 2017 6:11 pm
by talldrinks
I found this post with the example I was looking for. thanks!

viewtopic.php?f=3&t=1163&p=7557&hilit=byte+array#p7557

Re: UDP byte array examples?

Posted: Sun Oct 08, 2017 12:32 pm
by Matlo
Note that the format will change from GIMX 7.
The new format is described here: https://github.com/matlo/gimx-network-p ... protocol.h