[Winpcap-users] pcap_open / rpcap://any

Chris Barlas chris_barlas at wintec-inc.com
Fri Apr 21 17:30:18 GMT 2006


I have been using winpcap for quite some time on a project with standardized
hardware, but now we are moving to boxes that have multiple nics and no
longer will they be standard (affecting the names and such).  I was reading
the docs and found that pcap_open can take a string for device name of
rpcap://any, though I have been unable to get this to work.   I have tried
"any", "rpcap://any"  and saw the use of PCAP_SRC_IF_STRING (defined in
remote-ext.h) with no luck. I receive the error "The interface name has not
been specified in the source string."  How can one accomplish this?  Does
"any" really work as the docs suggest?  I do not want to have the user
choose or have to configure in any way the app.  Thanks in advance.  

 

Regards,

Chris

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.winpcap.org/pipermail/winpcap-users/attachments/20060421/f9b668ee/attachment.htm


More information about the Winpcap-users mailing list