RE: [twsocket] Interface used to reach a specific IP

2005-05-27 Thread Maurizio Lotauro
Scrive zayin [EMAIL PROTECTED]:

 Hi,
 
 If you are sending the command you can bind to a NIC.
 
 If you are not binding, then the address of the NIC can be a clue as to
 which one will be used.

What I need is to know which connection will be used for a specific ip address 
to read the associated proxy configuration and set the HttpCli properties.


Bye, Maurizio.


This mail has been sent using Alpikom webmail system
http://www.alpikom.it


-- 
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


RE: [twsocket] Interface used to reach a specific IP

2005-05-26 Thread Darin McGee
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


RE: [twsocket] Interface used to reach a specific IP

2005-05-26 Thread zayin
Hi,

If you are sending the command you can bind to a NIC.

If you are not binding, then the address of the NIC can be a clue as to
which one will be used.

HTH

Zayin 

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Maurizio Lotauro
Sent: Thursday, May 26, 2005 12:00 AM
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


Re: [twsocket] Interface used to reach a specific IP

2005-05-26 Thread Arno Garrels
Darin McGee wrote:
 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.

ICS home - User Made - IP Helper API should do it.

Arno Garrels
 
 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