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 Multiple Clients Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Sockets and Internet Protocols
Reply Bookmark "Multiple Clients" Watch "Multiple Clients" New topic
Author

Multiple Clients

Tanvier Haider
Greenhorn

Joined: Feb 02, 2002
Posts: 4
Hi folks can multiple clients (Socket) connect to same server (ServerSocket) , if yes then can two clients connected with same server communicate with each other,
any suggestion
Roy Ben Ami
Ranch Hand

Joined: Jan 13, 2002
Posts: 732
ofcourse multiple clients can connect to the same server. thats the whole idea of a server!
u have a server, and a lot of clients can connect to it (for example a web server, database server etc..).
ull need to make a different thread to comminicate with each different client, and u can use the server to allow the clients to "talk" to each other.
ersin eser
Ranch Hand

Joined: Feb 22, 2001
Posts: 1072
Hi tanvier
Thanks for hanging around but would you kindly read our naming rules and re-register ?
Thanks !
 
 
subject: Multiple Clients
 
Threads others viewed
problem in simple chat application.
Need Help::Any Ideas for a Networking Project involving Socket Programming
preventing access to db
Stateless Session Beans and Multiple clients
multiple clients
WebSphere development made easy
without the weight of IBM tools
http://www.myeclipseide.com