File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Sockets and Internet Protocols and the fly likes internet service provider & connections Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Sockets and Internet Protocols
Reply Bookmark "internet service provider & connections" Watch "internet service provider & connections" New topic
Author

internet service provider & connections

Maged Roshdy
Greenhorn

Joined: Feb 08, 2003
Posts: 24
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 agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: internet service provider & connections
 
Similar Threads
AccessException: unknown host
NX Testing on Two Different Machines -RMI connection refused
how to send messages from server to client initiatively?
Chat connecting
urgently help me in (connection timeout exception)