Win a copy of Node.js Design Patterns: Design and implement production-grade Node.js applications using proven patterns and techniques this week in the Server-Side JavaScript and NodeJS 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Rob Spoor
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Henry Wong
  • Liutauras Vilda
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Tim Holloway
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Mikalai Zaikin
  • Piet Souris

internet service provider & connections

 
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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..
 
You showed up just in time for the waffles! And this tiny ad:
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