The routing table on the PC holds this info. The problem is getting to
the routing table programmatically.  Anyone know how to?  The routing
table can be displayed via the ROUTE PRINT command line.

Dairn


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Maurizio Lotauro
Sent: Wednesday, May 25, 2005 8:00 PM
To: twsocket@elists.org
Subject: [twsocket] Interface used to reach a specific IP

Hello,

when a PC has more than one IP address (more than one NIC, one NIC
and an active connection with the modem, ...) is it possible to
detect through which local IP will be used to reach a specific IP
address?
In other words, which gateway will be used for a remote IP?


Bye, Maurizio.


-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be

--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be

Reply via email to