<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.3314" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV dir=ltr align=left><SPAN class=015411920-25092008><FONT face=Arial
color=#0000ff size=2>I can't get iflist to build. I get the following
error.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=015411920-25092008><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=015411920-25092008>
<TABLE width="100%" bgColor=#dfdfe5>
<TBODY>
<TR>
<TD><FONT face=arial size=+2>Command Lines </FONT></TD></TR></TBODY></TABLE>
<TABLE cellSpacing=0 cellPadding=0 width=*>
<TBODY>
<TR>
<TD width=0 bgColor=#ededf5> </TD>
<TD width=0 bgColor=#ffffff> </TD>
<TD width=*><PRE>Creating temporary file "c:\My Documents\Visual Studio 2008\WpdPack\Examples-pcap\iflist\Debug\RSP0000214042676.rsp" with contents
[
/Od /I "../" /I "../bpf/" /I "../lbl/" /I "../../Include/" /I "D:/Program Files/Microsoft Platform SDK/include" /D "_DEBUG" /D "WIN32" /D "_CONSOLE" /D "_MBCS" /D "WPCAP" /D "HAVE_REMOTE" /D "_VC80_UPGRADE=0x0600" /D "_UNICODE" /D "UNICODE" /Gm /EHsc /RTC1 /MTd /Fp".\Debug/iflist.pch" /Fo".\Debug/" /Fd".\Debug/" /W3 /c /ZI /TC ".\iflist.c"
]
Creating command line "cl.exe @"c:\My Documents\Visual Studio 2008\WpdPack\Examples-pcap\iflist\Debug\RSP0000214042676.rsp" /nologo /errorReport:prompt"
</PRE></TD></TR></TBODY></TABLE>
<TABLE width="100%" bgColor=#dfdfe5>
<TBODY>
<TR>
<TD><FONT face=arial size=+2>Output Window </FONT></TD></TR></TBODY></TABLE>
<TABLE cellSpacing=0 cellPadding=0 width=*>
<TBODY>
<TR>
<TD width=0 bgColor=#ededf5> </TD>
<TD width=0 bgColor=#ffffff> </TD>
<TD width=*><PRE>Compiling...
iflist.c
c:\program files\microsoft visual studio 9.0\vc\include\stdio.h(358) : error C3163: '_vsnprintf': attributes inconsistent with previous declaration
c:\program files\microsoft visual studio 9.0\vc\include\stdio.h(350) : see declaration of '_vsnprintf'
</PRE></TD></TR></TBODY></TABLE>
<TABLE width="100%" bgColor=#dfdfe5>
<TBODY>
<TR>
<TD><FONT face=arial size=+2>Results </FONT></TD></TR></TBODY></TABLE>
<TABLE cellSpacing=0 cellPadding=0 width=*>
<TBODY>
<TR>
<TD width=0 bgColor=#ededf5> </TD>
<TD width=0 bgColor=#ffffff> </TD>
<TD width=*><PRE>Build log was saved at "file://c:\My Documents\Visual Studio 2008\WpdPack\Examples-pcap\iflist\Debug\BuildLog.htm"
iflist - 1 error(s), 0 warning(s)
</PRE></TD></TR></TBODY></TABLE></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=015411920-25092008><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=015411920-25092008><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=015411920-25092008>I
tried to reinstall the network drivers and it seems to have helped. Do you
have any ideas to the issue above?</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV>
<DIV><BR></DIV>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> winpcap-users-bounces@winpcap.org
[mailto:winpcap-users-bounces@winpcap.org] <B>On Behalf Of </B>Gianluca
Varenni<BR><B>Sent:</B> Friday, September 19, 2008 11:37 AM<BR><B>To:</B>
winpcap-users@winpcap.org<BR><B>Subject:</B> Re: [Winpcap-users] Always
retrieving 0.0.0.0 IP address<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV><FONT size=2>Does the sample called "iflist" return the same 0.0.0.0
address?</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>Iflist is available in the winpcap developer's pack,
wpdpack\Examples-pcap\iflist</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>Have a nice day</FONT></DIV>
<DIV><FONT size=2>GV</FONT></DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=gcapwell@broadcom.com href="mailto:gcapwell@broadcom.com">Gerald
Capwell</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A title=winpcap-users@winpcap.org
href="mailto:winpcap-users@winpcap.org">winpcap-users@winpcap.org</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Thursday, September 11, 2008 2:47
PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> [Winpcap-users] Always
retrieving 0.0.0.0 IP address</DIV>
<DIV><BR></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=843214121-11092008>Hi,</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=843214121-11092008>I am writing MSFT
VC++ Studio 8 application that uses winpcap. I can receive a correct
device list, however I cannot retrieve the IP addresses of each adapter. I
always receive "0.0.0.0"</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=843214121-11092008></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=843214121-11092008>Here is the
function call:</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=843214121-11092008>iptos(((<FONT
color=#0000ff size=2>struct</FONT><FONT size=2> sockaddr_in
*)(d->addresses->addr))->sin_addr.S_un.S_addr);</FONT></SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=843214121-11092008></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=843214121-11092008>I'm using the
4.1Beta4 build.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=843214121-11092008></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=843214121-11092008><SPAN
class=843214121-11092008>Any ideas?</SPAN></SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=843214121-11092008><SPAN
class=843214121-11092008></SPAN></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=843214121-11092008><SPAN
class=843214121-11092008>Thanks for your help.</SPAN></SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=843214121-11092008><SPAN
class=843214121-11092008></SPAN></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=843214121-11092008><SPAN
class=843214121-11092008>Regards, Gerry</SPAN></SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=843214121-11092008><SPAN
class=843214121-11092008></SPAN><FONT size=2> </DIV>
<P></FONT><FONT size=2> </P></FONT></SPAN></FONT>
<DIV><FONT face=Arial size=2><SPAN
class=843214121-11092008></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN
class=843214121-11092008></SPAN></FONT> </DIV>
<P>
<HR>
<P></P>_______________________________________________<BR>Winpcap-users
mailing
list<BR>Winpcap-users@winpcap.org<BR>https://www.winpcap.org/mailman/listinfo/winpcap-users<BR></BLOCKQUOTE></BODY></HTML>