Logo 
Search:

Java Answers

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds
  Question Asked By: Hamish Jones   on Jun 12 In Java Category.

  
Question Answered By: Abriana Rossi   on Jun 12

The ServerSocket listens continuously in a thread.
Whenever a client  is connected a new thread a spawned which handles
the communication.
So, you will have to use multithreading. If you do not want to
multithread your application then may be you'll have to use the
SocketChannels etc. from the nio pkg.

If the above informaton is not enough, drop in a message...

Share: 

 

This Question has 6 more answer(s). View Complete Question Thread

 
Didn't find what you were looking for? Find more on Sockets programming Or get search suggestion and latest updates.


Tagged: