[Winpcap-users] Not getting IP address from WinPcap?
Janne Heikkinen
janne.m.heikkinen at helsinki.fi
Wed Apr 22 00:32:56 PDT 2009
Yep, if I set "Obtain an IP address automatically" from IPv4 properties
I get 0.0.0.0 from WinPcap.
Using gethostbyname() I can get that default IP adress of the adapter
in question as one of the IP addresses it gives.
- Janne
Quoting "Gianluca Varenni" <gianluca.varenni at cacetech.com>:
> Are you missing the IP addresses on the interfaces with an automatic IP
> address (169.254.0.0/16) only?
>
> Have a nice day
> GV
>
> ----- Original Message -----
> From: "Janne Heikkinen" <janne.m.heikkinen at helsinki.fi>
> To: <winpcap-users at winpcap.org>
> Sent: Sunday, April 19, 2009 3:38 AM
> Subject: Re: [Winpcap-users] Not getting IP address from WinPcap?
>
>
>> Quoting "Eric Kollmann" <xnih13 at gmail.com>:
>>
>>> It doesn't show it in your ipconfig /all, but just curious if you have
>>> IPv6 installed in the TCP/IP stack?
>>>
>>> That is what I found caused the 0.0.0.0 for me in my applications.
>>
>> But I have IPv6 enabled on all adapters and I get 0.0.0.0 only
>> for some of them with WinPcap.
>>
>> - Janne
>>
>> _______________________________________________
>> Winpcap-users mailing list
>> Winpcap-users at winpcap.org
>> https://www.winpcap.org/mailman/listinfo/winpcap-users
>
> _______________________________________________
> Winpcap-users mailing list
> Winpcap-users at winpcap.org
> https://www.winpcap.org/mailman/listinfo/winpcap-users
>
>
More information about the Winpcap-users
mailing list