Ok so i made a chat program that works on Lan. Now i want to make it work through the internet. I can get the internet ip address. Something like

SO in the socket i make the ip address of the server/client destination the It doesn't work though.

Are you saying that The server is at that IP address and the client uses that address in a Socket trying to connect to the server?

Is there a firewall or other software involved?

No explanation then.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.18 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.