posted 11 years ago
I am writing a chat application involving one server and multiple clients. However, when clients chat, the messages should not pass through server.
This is what i intend to do:
> Send chat request to server
> Server replies with credientials(IP,Port) of the other client
> Establish a connection with other client and proceed with the chat.
I am facing a problem in the 3rd step. I dont know how to establish a connection between client and another client?.
For establishing a connection between client and server i have used socket and server sockets. What is the way of establishing connection between client and another client?
Enjoy, Chander
SCJP 5, Oracle Certified PL/SQL Developer