Sign in to follow this  
Followers 0
BlackHoleSun

Determining computer name

5 posts in this topic

I am trying to figure out what computer I'm connected to from a general name. For example you connect to computer ABC, but in the background depending on where you are located you are actually connected to computer 123 or 456 or 789. You don't know what computer you are on because all you see is the ABC. If you do a tracert on ABC you can see that your connected to 456 let's say. So is there a way to get the actual computer you're connecting to?

What I was hoping for was to use TCPNameToIP to get the IP and then get the name from the IP, but there's no reverse TCPIPToName function as far as I can tell.

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

With what protocol/program are you connected to the remote computer? Maybe nbtstat -A with the ip address

Edited by Varian

Share this post


Link to post
Share on other sites

With what protocol/program are you connected to the remote computer?

I'm trying to map a network drive using the actual computer name. I can use the TCPNameToIP to get the IP of the end computer (i.e. 456) from the general name (ABC).

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0