[Winpcap-users] How can I get the IP address of gateway throughWinPcap

Gianluca Varenni gianluca.varenni at cacetech.com
Thu Jul 19 18:02:12 GMT 2007


Tony,

there's no API in WinPcap to obtain the gateway of an interface. You probably need to use the IP helper API to obtain such information. In particular, I think you need to use the Win32 function GetAdaptersInfo.

Hope it helps
GV


----- Original Message ----- 
  From: Tony Yang 
  To: winpcap-users at winpcap.org 
  Sent: Monday, July 16, 2007 11:50 PM
  Subject: [Winpcap-users] How can I get the IP address of gateway throughWinPcap


  How can I get the IP address of gateway through WinPcap
  thanks very much


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


  _______________________________________________
  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/20070719/6596a2a6/attachment.htm


More information about the Winpcap-users mailing list