Home > other >  Meet some of the questions using the completion port
Meet some of the questions using the completion port

Time:11-23

The client to send the data to the server is divided into content size and package, two parts, but because the data is large, so the server once receive incomplete, so the server before delivery to receive such request packet size, and then according to the received packet size application space, and then delivered to the completion port to receive package content (here sending buffer of 1024 bytes) request, this time I found a problem, such as client packet size of 1148 bytes, the server for the first time the actual received 1024 bytes, because no will charge full package contents
Content, so continue to receive package, this time to receive again, however, has received 1024 bytes, larger than the original 1148 bytes, I reason not clear idea,,,
Completion port for three days, my study details some of the things I do not understand, hope to be able to tall person to give directions,
  • Related