[Winpcap-users] Packet reordering
LeeGilbert
gilgil1973 at hotmail.com
Wed Nov 25 00:08:01 PST 2009
Hi, I am Gilber Lee.You must rearrange TCP data according to SEQ value in TCP header because TCP stack uses data retransmission technique for ensuring data transfer.WinPcap itself does not support TCP data arrangement because it is not TCP stack library.
Regards,Gilbert
> Date: Mon, 23 Nov 2009 16:12:01 +0100
> To: winpcap-users at winpcap.org
> From: wow at gasmi.net
> Subject: [Winpcap-users] Packet reordering
>
> Hi !
>
> I'm using winpcap to sniff a specific tcp stream from a specific port
> source, thus my filter is simple as : "tcp and src port 1234"
> I use the function pcap_dispatch() to redirect received packet to my
> handler function which parse them .
>
> I noticed that I receive packets in wrong order (which is logic as
> TCP does not guarentee packets arrive in right order).
> Before rewriting the whole re-ordering/re-assembly code I was wondering if:
>
> 1: Can we ask winpcap to report packets in the right order ?
> 2: Do you know any lib under windows that does this, as I dislike
> reiventing the wheel ?
>
> Thanks for your advices .
>
> Sam
>
>
>
> _______________________________________________
> Winpcap-users mailing list
> Winpcap-users at winpcap.org
> https://www.winpcap.org/mailman/listinfo/winpcap-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.winpcap.org/pipermail/winpcap-users/attachments/20091125/13e91c19/attachment.htm
More information about the Winpcap-users
mailing list