I am looking on the website for my problem but seems I am not able to find out the solution yet. I have Java non-blocking client server program which works good. I took the example from [here](http://kramasundar.blogspot.com/2009/06/java-supports-nonblocking-io-since-java.html) 

my problem is, how can I make the server as the client to another server as well? Right now, my server will has 2 listening ports to wait connection request from the client and that is achieved. Now, I want to make the server in the same time can connect to another server using different port. I have no idea how can I achieve this. Hope somebody could give some ideas. Big thank you guys!