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]