IP Address


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: IP Address

  1. #1
    Join Date
    Apr 2006
    Posts
    2

    IP Address

    how to get IP address of requesting machine?

  2. #2
    Join Date
    Feb 2006
    Location
    Cologne - Germany
    Posts
    271
    Depends on the circumstances. Within a servlet, you can invoke request.getRemoteHost(). When you have a server to which a client socket connects, then you can get it by invoking clientsocket.getInetAddress().

Similar Threads

  1. Replies: 1
    Last Post: 04-07-2006, 05:21 AM
  2. Replies: 0
    Last Post: 01-30-2006, 01:14 AM
  3. Replies: 0
    Last Post: 01-30-2006, 01:13 AM
  4. Print address at bottom of page-Help
    By Suraj in forum Architecture and Design
    Replies: 0
    Last Post: 02-05-2001, 08:37 AM
  5. Print Address tag at bottom of page
    By Suraj in forum Web
    Replies: 0
    Last Post: 02-04-2001, 03:09 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center