Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

URLConnection and IP address

 
FY Hsieh
Ranch Hand
Posts: 73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
1. MY PC uses DSL to connect to internet. If I use "URLConnection" to connect to a web site, how does the server of that site interpret the IP address of my PC (where the request is from) ?

2. Generally speaking, when a PC uses DSL, is its IP address dynamically assigned ?
 
Edwin Dalorzo
Ranch Hand
Posts: 961
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Your ISP must have assigned an IP address to your DSL router, which is the one that is ultimately used in the Internet.
 
Scott Johnson
Ranch Hand
Posts: 518
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
FY,

In the future, please don't crosspost. Having multiple threads on the same subject is a waste of everyone's time.

Thanks.
 
Don't get me started about those stupid light bulbs.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic