Hello, as I have discovered, there is a unicode string being returned from pcap_lookupdev. I don't know whether this is temporary "not yet finished" or whether it is just unusual decision. In any case either code or documentation (pcap man page) should be corrected, because pcap manpage suggests that it is ordinary string and people like me tend to pass it to printf or strcpy.
My second question is whether it is possible to pass such unicode string to pcap_lookupnet and pcap_open_live and whether these functions accept also ascii strings. I have user with 32-bit windows who is getting error from pcap_lookupnet. I have almost-32-bit windows and everything looks fine here. Btw, why does 3.0's pcap_lookupnet return zero ip/mask where 2.3 returned error? That's another thing my program didn't like. ================================================================== This is the WinPcap users list. It is archived at http://www.mail-archive.com/[email protected]/ To unsubscribe use mailto: [EMAIL PROTECTED]?body=unsubscribe ==================================================================
