You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Packet sticking and unpacking are inevitable in TCP network programming.
eg:
Client send two message;
1-> | Header | Length | AA AA AA AA AA AA| Rear |
2-> | Header | Length | BB BB BB BB BB BB | Rear |
Server received message are three scenarios
1 Normal
Two message
_____________________________________________________
| Header | Length | AA AA AA AA AA AA| Rear |
_____________________________________________________
| Header | Length | BB BB BB BB BB BB | Rear |
2 Sticking
One message
| Header | Length | AA AA AA AA AA AA| Rear | | Header | Length | BB BB BB BB BB BB | Rear |
3 Unpacking
Greater than two message
| Header | Length | AA AA AA AA
_____________________________________________________
AA AA| Rear |
_____________________________________________________
| Header | Length | BB
_____________________________________________________
BB BB BB BB BB | Rear |
Hi:David Fowler
Do you has a plan to process TCP stick package and unpacking?
The text was updated successfully, but these errors were encountered: