skyblue01
asked on
asynchronous i/o
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.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
>>. But if I want ot make a network connection in the real-time environment, wouldn't it be critical spawning multiple threads and not having asynchronous i/o?
Well, i'm not sure what you're doing (you didn't mention that above), so i can't really answer that...
Well, i'm not sure what you're doing (you didn't mention that above), so i can't really answer that...
ASKER
CEHJ thanks for your suggestion.
:-)
ASKER