Home > Software engineering >  The Socket of the FIN disconnect problem
The Socket of the FIN disconnect problem

Time:09-22

Below is grasp of packets, this is no problem of data


This is my application simulation of packets, but in the end one bag, one Socket is received the FIN bag, the contents of the packet to catch packet is the same as


Help to find the information of two all not fix didn't have any idea, strives for the great god help, only 200 points, their all points

CodePudding user response:

The server you want to see
If the server have any validation on package, such as is not to say that the same will be able to pass

CodePudding user response:

The
reference 1/f, adlay response:
the server you want to see the
If the server have any validation on package, such as is not to say that the same will be able to pass the

I grab the packets to determine each time grasping is the same

CodePudding user response:

See if there is something wrong with other packages

CodePudding user response:

If the server processing, closing the connection

CodePudding user response:

Pay attention to the package SeqNumber AckNumber, CheckSum

SeqNumber AckNumber these need communication in front of the package

CodePudding user response:

Wrong calculation feel your SeqNumber
A package before you send the size of (96-54)=42 (generally)

SeqNumber should be 336 + 42=378
But your hair is 377

CodePudding user response:

Simulated data program want to see you, I want to know how can simulate the fin=1 packet??????? ~ ~ ~ ~ thanks! Genuflect is begged genuflect is begged
  • Related