Posted on 2003-11-07
I'm making a simple chat program where the client sends a message to the server which the server redirects it back to all the connected clients. In particular, I'm using the java .nio package (buffers and channels) and want to know if asynchronous i/o is a must in this case (since dealing with readings and writings of data). Suppose even if its not mandatory, is it going to be critical if I'm going to build a larger program using this as a base? Any comments are appreciated.