473,387 Members | 1,892 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Getting IP addres of a System connected in LAN through internet

Shanaj
51
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...
May 26 '08 #1
1 2361
Nepomuk
3,112 Expert 2GB
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
May 27 '08 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: Snuffy2 | last post by:
I'm looking to try to get a users MAC and/or NetBIOS name when they visit my website. It somehow can be done, I'm not sure with PHP, but it can be done. Does anyone have any idea how? As an...
3
by: vishnu mahendra | last post by:
Hello to all, Can you give me the code so that i can make sure that my system is connected to the internet. thank you in advance, vishnu
3
by: dotNetDave | last post by:
I just discovered that this: Dim searcher As New Management.ManagementObjectSearcher("SELECT NetConnectionStatus FROM Win32_NetworkAdapter") For Each networkAdapter As...
3
by: leveraged | last post by:
Why can I only connect to or create a web app in VS 2003 using localhost while I am connected to the internet. I have no problems using VS 2002 but for some reason I get Microsoft Development...
3
by: Martin Ho | last post by:
My application (before is actually fully loads) should check if user is connected to internet. Is there any way to check this with certainty? Thanks a lot. Martin ----== Posted via...
0
by: ruju00 | last post by:
I am getting an error in Login() method of the following class FtpConnection public class FtpConnection { public class FtpException : Exception { public FtpException(string message) :...
3
by: Chakkaradeep | last post by:
Hi all, How to retrieve Users Names and also restrict internet access to a specific users using C# ? Thanks. Regards, C.C.Chakkaradeep
0
by: yreddy | last post by:
Hi, I got a requirement to develope an application which takes care for monitering the internet connection of a customer and it directs the customer to resolve some basic issues related to...
1
by: odrap | last post by:
I wrote a ADO.NET ( VB.NET language) database application with the data database itself located on a SQL SERVER 2005 Express on my desktop. The application database is on my laptop. My laptop as...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.