Send me the server returns data, the size of probably 20kb (small b, bit), I received a length but only 2872b, much can be achieved when 7180, the minimum time is 1436, (these numbers are multiples of 1436). reading time, I have set to -1, which is the maximum length of the return ... 2872 is the most common ...
Will the brightest heroes, have not encountered such a situation, or you think it may be the reason?
Reply:
I estimate that by 1436 the size of your server subcontracting The.
Reply:
Nor is it, the server is a one-time all the data returned ..
Reply:
Server is sending data one time, but the client receives ... and each batch was received with a length not consistent ... this ..
Reply:
Packet length hair may fixed, but the length of time will be smaller when the received packet.
The length is not self-control, which is the underlying tcp transmission do the work. Data sent to the buffer memory, when the whole of the slow network when two packages will be sent with bonded together. This phenomenon is often seen in tcp data transmission. .
Reply:
Ah, I am looking for a long time, only to find that really is the case. For example, the original data is AAAAAA, now split into two packages, the two packages together inside the data plus the length exceeds the length of the original package, and what extra length? It would not be appropriate format, such as the target IP, port or something? Or packet sequence?
Reply:
Carrier bag with tools such as data seen mostly because it was part of the protocol header tcp tcp packet header is automatically added!
Reply:
Does this part of the header, how should I resolve?
Reply:
For example, the original data is AAAAAA, now split into two packages, the two packages together inside the data plus the length exceeds the length of the original packet.
Nonsense. If the server sends a AAAAAA, then send BBBBBB, you receive may be AAAAAA, then receive BBBBBB, or one-time receipt AAAAAABBBBBBB. There is no other. What analysis do not capture what XX. Learn better foundation
Reply:
Server only sends a AAAAAABBBBBBB, and I was repeatedly receiving side, and the total length is longer than the server sends more than a few bytes, I do not know more than a few bytes out of this is how it ... ..
Reply:
Ah, the problem has been solved by half, said the upstairs right, there will be no redundant data, assembled like, just stick pack phenomenon is horrible ... this requires a good deal ....
Reply:
Reply:
No comments:
Post a Comment