Hi.
Have you installed the latest platform SDK *and* registered it into Visual
Studio 6? The problem is usually due to the lack of the proper IPv6 stuff in
the Windows include you are using.
Have a nice day
GV
PS. You can find the platform SDK on the Microsoft website, you have to
install the "core sdk" stuff.
----- Original Message -----
From: "hans keller" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, June 03, 2004 2:02 PM
Subject: [WinPcap-users] struct 'sockaddr_storage' when using packet32.h
> hi together! =)
>
> my Problem:
> when I Include "packet32.h" & "ntddndis.h" in my program I receive every
> time an error when I compile it....
> (I have included the library an include files iin my Visual studio)
> I tried diverent packet.dll's, changed the order of the include files....
> but every time the struct 'sockaddr_storage' is unknown.
>
> Has anybody an idea?
> Thanks a
> Lot!!
>
> Phil
>
>
> Compilermessage:
> Kompilierung
> l�uft...
> TestPacketCapture.c
>
e:\vpn\machbarkeitsstudie\tools\winpcap3_1\wpdpack_3_1_beta_3\wpdpack\includ
e\packet32.h(205)
> : error C2079: 'IPAddress' verwendet undefiniertes
> struct
> 'sockaddr_storage'
>
e:\vpn\machbarkeitsstudie\tools\winpcap3_1\wpdpack_3_1_beta_3\wpdpack\includ
e\packet32.h(206)
> : error C2079: 'SubnetMask' verwendet undefiniertes
> struct
> 'sockaddr_storage'
>
e:\vpn\machbarkeitsstudie\tools\winpcap3_1\wpdpack_3_1_beta_3\wpdpack\includ
e\packet32.h(207)
> : error C2079: 'Broadcast' verwendet undefiniertes struct
'sockaddr_storage'
> Fehler beim Ausf�hren von cl.exe.
>
> TestPacketCapture.exe - 3 Fehler, 0 Warnung(en)
>
>
> Source:
>
> #include <stdio.h>
> #include <conio.h>
>
>
>
> #include "packet32.h"
> #include "ntddndis.h"
>
> #define Max_Num_Adapter 10
>
> // Prototypes
>
> void PrintPackets(LPPACKET lpPacket);
>
> char AdapterList[Max_Num_Adapter][1024];
>
> int main(){
> ....
> }
>
>
> --
> "Sie haben neue Mails!" - Die GMX Toolbar informiert Sie beim Surfen!
> Jetzt aktivieren unter http://www.gmx.net/info
>
>
>
> --
> +++ Jetzt WLAN-Router f�r alle DSL-Einsteiger und Wechsler +++
> GMX DSL-Powertarife zudem 3 Monate gratis* http://www.gmx.net/dsl
>
>
>
> ==================================================================
> This is the WinPcap users list. It is archived at
> http://www.mail-archive.com/[EMAIL PROTECTED]/
>
> To unsubscribe use
> mailto: [EMAIL PROTECTED]
> ==================================================================
>
==================================================================
This is the WinPcap users list. It is archived at
http://www.mail-archive.com/[EMAIL PROTECTED]/
To unsubscribe use
mailto: [EMAIL PROTECTED]
==================================================================