Re: How to Distinguish between a reset packet and a normal packet




Dan N wrote:
On Thu, 22 Mar 2007 21:09:45 -0700, sairam wrote:

How Distinguish between a Reset Packet and a normal Data or Ack or
Request packet.

That's a pretty vague question. In what context? What protocol are you
talking about?

If you're talking about TCP, in a reset packet, the RST bit in the header
is set. In an Ack packet the ACK bit is set.

Dan

Iam talking in the sense of programming, when received a packet in my
program it strips off all the header content, then how can I know the
packet is a RST packet

Sairam

.



Relevant Pages

  • Re: This is tougher than I thought?
    ... > first programming language, Pascal, that is now Delphi. ... > packet term. ... > refers to NT 5 features is separated properly and doesn't crash. ... > complete it will work on any Windows from 95 above. ...
    (comp.protocols.time.ntp)
  • Using ethernet on a Xilnx board (Help appreciated)
    ... Up until very recenty my programming experience was ... limited to higher level programming language: ... What I attempted to do was to build a valid packet, ... board into a router. ...
    (comp.arch.fpga)
  • Re: how to store list of varying types
    ... programming design techniques for nontrivial problems. ... virtual void SomeMethod() PURE; ... class Thing: public Packet { ...
    (microsoft.public.vc.mfc)
  • Re: Network Programming (misc question)
    ... > one program) in order to understand and practice network programming. ... The best packet size, including any headers, is the mtu. ...
    (comp.os.linux.networking)
  • C# Networking help - Raw Sockets for IGMP
    ... I'm pretty new to Windows programming (but not programming in ... I'm trying to write a program that will generate IGMP ... packets where I can control all of the payload in the packet but I'm ... What data do I/can I shove into the packet itself and how do I set the ...
    (microsoft.public.dotnet.languages.csharp)