I am looking for a simple client/server chat implementation using NIO
(something based off an echo server would be keen) without running
separate threads. I cannot seem to come to grips with the relationship
between the selector, the selection keys, the
socket/serversocket/socketchannel, and the channels. I understand
sockets and serversockets and that the streams are now handled
differently...that's about it. Can anyone point me to a decent
tutorial or sample code?
Rene - 09 Sep 2003 08:58 GMT
> I am looking for a simple client/server chat implementation using NIO
> (something based off an echo server would be keen) without running
[quoted text clipped - 4 lines]
> differently...that's about it. Can anyone point me to a decent
> tutorial or sample code?
This one helped me:
http://www.javaworld.com/javaworld/jw-09-2001/jw-0907-merlin.html
CU
Rene

Signature
-------------------- http://NewsReader.Com/ --------------------
Usenet Newsgroup Service New Rate! $9.95/Month 50GB