Hello,

I experimented with a sample client server app, and tried to send some UDP packets between the client and the server, simple string messages works no problem, my Question now is when I Look at the structure of the udp packet there is the ip header, udp header all the other info, and the actual data.
If I want to send some UDP packets, do I need to define a datastructure with all these info? or all is automatically added and all i need to put is the data part. I am asking because in the sample code I have seen, the only thing that is sent is a message string.
I am not asking for code, any help or pointers in the right direction will be appreciated.
Thanks