Getting IP addres of a System connected in LAN through internet

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Shanaj
    New Member
    • Jan 2007
    • 51

    Getting IP addres of a System connected in LAN through internet

    Hello,

    Anybody knows how to get the ip address of a system connected in LAN through internet

    I developed a chat application which is working fine in LAN . To work in internet the server need to know the IP addresses of clients that are connecting to the server and viceversa

    OR

    is there any other way ?

    Please help me...
  • Nepomuk
    Recognized Expert Specialist
    • Aug 2007
    • 3111

    #2
    Originally posted by Shanaj
    Hello,

    Anybody knows how to get the ip address of a system connected in LAN through internet

    I developed a chat application which is working fine in LAN . To work in internet the server need to know the IP addresses of clients that are connecting to the server and viceversa

    OR

    is there any other way ?

    Please help me...
    I know of no way, with which you can find out your Internet IP with only the computer, your client is running on. But if you have a server, which has either a static adress or a DynamicDNS, then all clients can connect to that server and the server can determine, from which IPs they are connecting.
    Check out the ServerSocket API to find out more.

    Of course, you could have DynamicDNS for all clients, but that would probably be both a waste and a potential danger.

    Greetings,
    Nepomuk

    Comment

    Working...