ip address
-
hi every one imagine that i am in a local network how can i retrieve my servers ip with socket programming? i know that (hostInfo.AddressList[0]) retrieve my local ip but i need my server ip like the ones that site(ip-address.com) retrieve thatks
-
hi every one imagine that i am in a local network how can i retrieve my servers ip with socket programming? i know that (hostInfo.AddressList[0]) retrieve my local ip but i need my server ip like the ones that site(ip-address.com) retrieve thatks
run the command net view from windows as well as net group, might give you the server name. (Type net at the command line for a full list of options)
Need custom software developed? I do custom programming based primarily on MS tools with an emphasis on C# development and consulting. A man said to the universe: "Sir I exist!" "However," replied the universe, "The fact has not created in me A sense of obligation." --Stephen Crane
-
hi every one imagine that i am in a local network how can i retrieve my servers ip with socket programming? i know that (hostInfo.AddressList[0]) retrieve my local ip but i need my server ip like the ones that site(ip-address.com) retrieve thatks
What do you mean, the one behind your adsl box for instance ?
-
hi every one imagine that i am in a local network how can i retrieve my servers ip with socket programming? i know that (hostInfo.AddressList[0]) retrieve my local ip but i need my server ip like the ones that site(ip-address.com) retrieve thatks
mehrdad333 wrote:
how can i retrieve my servers ip
One of two ways: keep it in a file and do a manual lookup, or make it known to a DNS server, and look it up through that. There is no way that software can guess an IP address without using some sort of lookup table that already contains the information.
MVP 2010 - are they mad?