• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Bear Bibeault
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Jj Roberts
  • Carey Brown
Bartenders:
  • salvin francis
  • Frits Walraven
  • Piet Souris

internet service provider & connections

 
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi ranchers
could anyone help my to understand the problem in my chatting program
1. in my chatting program i have to peers client and server
2. evrey client have a list of frends when he click on any of them he
starts a private chat with his frind.
3. when the client click on his frind name he retreveis his ip from the
server and the try to connect to his frind (now his frind will act as
server and he will act as client)and start a private chat.

this program is working properly on the LAN but when i use the WAN the
the private chat unforunaitly ain't work and the client(Socket) couldn't connect to his frind (ServerSocket).
i guss that the public chat works becouse the server have a real IP (fixed)
but clients connecting to the internet by an (ISP)internet service provider
so they don't have an real IP for other client to connect on
plz if i thinking true tell my if there any solving to my problem if not
tell my why my program doesn't work on WAN
thanks in advance..
 
I want my playground back. Here, I'll give you this tiny ad for it:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic