In my program, a udp socket is used to communicate with PC. I tried to transform 1KBdata 2048 times simply by sendto() in a for loop, and it neerly succeded. There are two problems here:
1, the first 10 or so packets can not be received
2, transform 4096 times in for loop would end up dropping lots of packages
Im using wireshark to watch udp packets on ethernet. What is wrong here?
Thanks a lot.