This week's book giveaway is in the Artificial Intelligence forum.
We're giving away four copies of Pragmatic AI and have Noah Gift on-line!
See this thread for details.
Win a copy of Pragmatic AI this week in the Artificial Intelligence forum!
  • 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:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
Sheriffs:
  • Paul Clapham
  • Junilu Lacar
  • Knute Snortum
Saloon Keepers:
  • Ron McLeod
  • Ganesh Patekar
  • Tim Moores
  • Pete Letkeman
  • Stephan van Hulst
Bartenders:
  • Carey Brown
  • Tim Holloway
  • Joe Ess

internet service provider & connections  RSS feed

 
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..
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!