> I belive the error codes mean the same in both winpcap and libpcap. SO I > added "pcap_strerror" in libpcap and got the strings for the error codes... > for example: > 1- operation not permitted. > 2- no such file or directory > 3- no such process ... and so on.
"pcap_strerror()" expects a UNIX-style "errno", rather than a value as returned by "GetLastError()"; I wouldn't assume that the "pcap_strerror()" will necessarily return the error message string when handed the result of "GetLastError()". See the way "FormatString()" is used in the WinPcap source, for example. > By the way, how do I check the version of winpcap installed? I don't think there is a way. You'd have to ask [EMAIL PROTECTED] whether there is one. - This is the TCPDUMP workers list. It is archived at http://www.tcpdump.org/lists/workers/index.html To unsubscribe use mailto:[EMAIL PROTECTED]?body=unsubscribe
