"Tola Ndumari" <[email protected]> wrote:

every time i call the function it returns the name and description of the
device. It returns 23 and 2 for the sa_family but in both cases sa_data is
an empty string, any help is much appreciated

Remember that an adapter can have several addresses (IPv4 and/or IPv6 etc.).
Take a look at tests/findalldevstest.c in the libpcap sources for an example.

--gv
_______________________________________________
Winpcap-users mailing list
[email protected]
https://www.winpcap.org/mailman/listinfo/winpcap-users

Reply via email to