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

socket timeout  RSS feed

 
nitin kumar
Ranch Hand
Posts: 105
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In my project I have a task .Say 2 clients connect to my server.And if one client sends some particular message it should get disconnected.But other client should be still connected. If I need to connect more than 2 clients shud I go for a socket array and is that my server shud have serversocket both client and server running on same port. Shud I use socket timeout function to disconnect a client.Please clarify my doubts
bye
nitin
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!