Reply To: Packet Length via ip_len failed?

Home Forums Discussions General Discussion Packet Length via ip_len failed? Reply To: Packet Length via ip_len failed?

#6542

kf
Participant

i found the answer!.


unsigned short length = ntohs(pIpHeader->ip_len) - ( pIpHeader->ip_hl*4 + pTcpHeader->th_off*4);

can someone say yes or no? 😀