How to send a struct over UDP and receive on the other side?

前端 未结 0 1351
[愿得一人]
[愿得一人] 2020-12-14 06:30

I have a very specific question on socket programming. My code is similar to the following.

struct data_packet{
   unsigned char seqnumber; 
   char data[500]         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题