<!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></HEAD>
<BODY>
<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></BODY></HTML>