[Winpcap-users] pcap_findalldevs()

Guy Harris guy at alum.mit.edu
Mon May 20 10:03:20 PDT 2013


On May 20, 2013, at 8:33 AM, Tola Ndumari <tody.da.master at gmail.com> wrote:

> but in both cases sa_data is an empty string,

sa_data is not an empty string, because it's not a string at all!

It's a pointer to *BINARY* data, the format of which depends on the sa_family - it's a 4-byte IPv4 address if the family is AF_INET and a 16-byte IPv6 address if the family is AF_INET6.



More information about the Winpcap-users mailing list