4 Replies Latest reply on Jul 9, 2012 8:04 AM by tmazight

    NIO Server with two port


      I'm building a server with NIO ServerSocketChannel , this server have 2 ports for clients connections,

      what is the best solution, to make a Selector for each port, or a Selector for both ports?

      If the server is in non blocking mode, and the client for sending data uses the blocking sockets, can this cause any problems?


      Edited by: tmazight on Jul 8, 2012 8:23 PM