Getting the remote IP-Adress
Posted: Sat Dec 13, 2003 6:33 pm
Hi all
I have a network question: How can i retrieve the remote adress of a network client? This is the adress, thru which the client is connected to the server. I need to retrieve this adress on the client side.
Example:
[Server: 192.168.0.1] <--> [Client: 192.168.0.2]
the remote adress of the client would be 192.168.0.2 . The problem is, that if the client has more than one IP adress i don't know which one is the right one.
Thanks for any help! merendo
I have a network question: How can i retrieve the remote adress of a network client? This is the adress, thru which the client is connected to the server. I need to retrieve this adress on the client side.
Example:
[Server: 192.168.0.1] <--> [Client: 192.168.0.2]
the remote adress of the client would be 192.168.0.2 . The problem is, that if the client has more than one IP adress i don't know which one is the right one.
Thanks for any help! merendo