i am wayyyyyyyyyyy too mixed up with this feature of the java language.
I have understood the concept of io but nio looks 10x more complicated than it.
I need a bit of an explanation on how the flow of data works and what do ServerSocketChannel, SocketChannel, InetSocketAddress, ServerSocket, Set and SelectionKey do and mainly how they cooperate with each other.
Thanks for your help!
Re: About java.nio
Did you do a web search for a Java nio tutorial? I did. Got lots of hits. Once you go thru a specific tutorial, then write your code and someone here should be able to assist in any problems you are having.