This week's book giveaway is in the Design forum.
We're giving away four copies of Design for the Mind and have Victor S. Yocco on-line!
See this thread for details.
Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Question on Aliases

 
krish chandru
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
All,
I am trying web application creation with tomcat.
My friend educated me that anyone in n/w can access my machine by http://<mymachine-name>/<app context>
I dont understand the concept behind aliasing.
How will a remote machine know that this alias is for my machine. As my knowledge goes a machine can be loacted only by the IP isn't it ? Who sits in the middle and do this conversion ? Is there any program running in the client to decipher aliases to IPs ?
Kindly enlighten
krish chandru
 
Cindy Glass
"The Hood"
Sheriff
Posts: 8521
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The network software handles the aliasing.
Moving to General Computing.
 
Lewin Chan
Ranch Hand
Posts: 214
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hej,
If you're talking about converting <my-machinename> to an ip address
In a TCP/IP network, generally name -> ip address resolution is performed by a DNS server. (discounting other things like WINS / LMHOSTS).
You shouldn't have to worry about who sits in the middle and makes the translation from name to number, it happens transparently. I'm sure that those people you have to write the actual socket implementation would disagree with me, but then I'm not as clever as they are
L
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic