Get IP Address of the Remoting server -
07-19-2007
, 11:39 AM
Hi
I've a .Net remoting server running on a machine, that has one Public IP and
one LAN IP. The clients connect to this server from within the LAN using its
LAN IP and from outside the LAN over the internet using its Public IP. Now
my question is that when a client connect to the server, is there any way
for the server to get the IP (Lan IP or Public IP) to which the client has
connected. Just as we can get the IP of the client machine using
CallContext.GetData("ClientIPAddress"). My server is written in C#. Please
suggest if there is anyway.
Regards
Usman |