[Winpcap-users] pcap_open_offline error

Guy Harris guy at alum.mit.edu
Wed Nov 4 11:26:02 PST 2009

On Nov 4, 2009, at 4:34 AM, Sujay Gupta wrote:

> In all the cases it returns error, as Invalid argument.

pcap_open_offline() doesn't support URLs, only paths.  Try

	strcpy(source, "c:\\test.pcap");

or use pcap_open(), which supports URLs.

More information about the Winpcap-users mailing list