how can webserver konw which ip is visited by client?

K

kenwood

IPHostEntry ipEntry = Dns.GetHostByName(Dns.GetHostName());
IPAddress[] addr = ipEntry.AddressList;

I have 3 network adapters,so the addr has 3 ip address.
how can webserver konw which ip is visited by client?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top