• Post Reply Bookmark Topic Watch Topic
  • New Topic

socket  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
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!