Home › Forums › Discussions › General › Packet Length via ip_len failed? › Reply To: Packet Length via ip_len failed?
February 7, 2008 at 10:48 pm
#6542
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? 😀