[Winpcap-users] how to auto detect the interface

David Chang dchang at fsautomation.com
Tue Nov 13 22:22:56 GMT 2007


Farhan,

Are you asking how to translate a single IP address to a particular NIC?  Or, do you actually need to sample the packet stream because you have some kind of SPAN/mirror port on a switch?

By the way, which O.S. are you writing this application for?

DC

----- Original Message ----- 
  From: *farhan Khan* 
  To: winpcap-users at winpcap.org 
  Sent: Tuesday, November 13, 2007 11:29 AM
  Subject: [Winpcap-users] how to auto detect the interface


  hi,
  i am new user of this mail list, i would like to know how can i detect which interface is the correct one to capture the packets on TCP 8080/80 and 1080 etc. I want my application to select approperiate interface automatically without user's input for the interface.... Is this possible if yes then please let me know how can i do that???
   
   
  Regards
  Farhan


------------------------------------------------------------------------------
  Windows Live Hotmail and Microsoft Office Outlook – together at last. Get it now! 


------------------------------------------------------------------------------


  _______________________________________________
  Winpcap-users mailing list
  Winpcap-users at winpcap.org
  https://www.winpcap.org/mailman/listinfo/winpcap-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.winpcap.org/pipermail/winpcap-users/attachments/20071113/d4053d15/attachment.htm


More information about the Winpcap-users mailing list