I have to communicate with a device which listens on a port for all incoming IP/UDP connection , Ethernet frame carries ip/udp packet which in turn have to carry my own packet say own packet, which is to be like following
| first field | second field | third field | fourth field |
|2byte message sequence number|1byte message type| Reserved field| Message Data |
how do i create my custom packet with these as my packet data?
1 Answer