joining clients in java
2 posters
Page 1 of 1
joining clients in java
how to connect two clients through a server in java
(for text chatting of course....).
have used Socket and ServerSocket
I am able to connect multiple clients with server but not client with client!
thanx
(for text chatting of course....).
have used Socket and ServerSocket
I am able to connect multiple clients with server but not client with client!
thanx
amazon- Posts : 13
Join date : 2008-08-10
@socket programming in c
using socket programming in c..its possible to connect client with client..infact its not just two clients gettin connected to one another...its the basic server client application only..... but the clients exchange their position of becoming the server and den client one by one..so it looks as if both are clients...
when we make a chat program using udp there is not dedicated connection between two clients...and its like multiple clients can connect to each other at the same time...and even if one of the clients logs off still the other clients continue to send and recieve messages ....
so try using udp if u r using tcp ...
when we make a chat program using udp there is not dedicated connection between two clients...and its like multiple clients can connect to each other at the same time...and even if one of the clients logs off still the other clients continue to send and recieve messages ....
so try using udp if u r using tcp ...
scorpion- Posts : 1
Join date : 2008-08-11
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum