Re: Parsing packets
- From: "Arkady Frenkel" <arkadyf@xxxxxxxxxxxxxxxx>
- Date: Wed, 19 Sep 2007 10:46:47 +0200
Yes, you need to check if options exist and parse accordingly due to RFC793
http://www.faqs.org/rfcs/rfc793.html .
Arkady
"Galia" <galia@xxxxxxxxx> wrote in message
news:el0B%23Qp%23HHA.1212@xxxxxxxxxxxxxxxxxxxxxxx
I Use WinPcap library to sniff my network card and I try to parse the
packets. In TCP stream I want to discriminate between tcp control packets
and actual data packets.
Checking the packet length usually works as its 20 bytes only, but I see
that sometime its 28 (when options are used).
Is there a way to accomplish my task?
Regards
Galia
.
- References:
- Parsing packets
- From: Galia
- Parsing packets
- Prev by Date: Re: Parsing packets
- Next by Date: Testing IOCP handle with NULL
- Previous by thread: Parsing packets
- Next by thread: Testing IOCP handle with NULL
- Index(es):
Relevant Pages
|