Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / September 2003

Tip: Looking for answers? Try searching our database.

Echo Server Using NIO

Thread view: 
Jack9 - 09 Sep 2003 00:04 GMT
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



Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.