Wireshark-dev: Re: [Wireshark-dev] Package for capturing packet formats
From: Jaap Keuter <jaap.keuter@xxxxxxxxx>
Date: Tue, 21 Nov 2006 15:42:50 +0100 (CET)
Hi,

Plain C doesn't have classes.

Thanx,
Jaap

On Tue, 21 Nov 2006 GefRaitaSep@xxxxxxxxx wrote:

> Yes, I know. My question is, if its possible to use the classes of wireshark which are responsible for saving byte streams in a single class. This means a packet which is captured with WinPcap for example is a TCP-Packet. In this case I only have to write a wrapper to get the properties of a single packet (eg. for TCP this could be source ip and destination ip) because management of these classes could be provided through wiresharks-sourcecode.
>
> thx, Bernhard
>
> > Hi,
> >
> > Wireshark is written in plain C, therefore you'll need to apply any
> > abstraction yourself.
> >
> > Thanx,
> > Jaap
> >
> > On Tue, 21 Nov 2006 GefRaitaSep@xxxxxxxxx wrote:
> >
> > Hello!
> >
> > I????m trying to write an application in C#, using AirPcap to be able to capture packets in monitor mode. It would be great for me to use an existing library which is able to categorize captured streams into the desired packets (eg. See a packet as 802.11 management frame or byte stream as TCP packet,?), where I can use complete classes to work; so I only have to write a wrapper for these defined classes for make them available in C#. Unfortunately, I????m a bit confused about the source of wireshark, are there any files/packages which are responsible for my purpose? Or are there any other libraries available which are in the position to fit the byte stream into a class?
> >
> > Best regards, Bernhard
>