Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Multiple Clients  RSS feed

 
Tanvier Haider
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 732
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1072
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi tanvier
Thanks for hanging around but would you kindly read our naming rules and re-register ?
Thanks !
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!