Hello everyone. My goal in this program is to create a network packet that send request by using sequence number. I wanted to combine two sequence number in one packet (for example, /prefixseq0 and /prefixseq1 in one packet) and the replying packet also consist of this two sequence number. the next requesting packet will consist of /prefixseq2 and /prefixseq3 in one packet and so on.
i think the problem for me is with this line nameWithSequence->appendSeqNum (seq); function to append the sequence number to the packet.
I tried different combinations but it didnt work. Any help would be appreciated.