[quote]If his limit is 20 players NIO might be over-kill.
I’d suggest starting with java.net which is a lot easier to learn and then branching out to NIo if you really need the performance.
Just IMO.
[/quote]
If you haven’t read the articles yet, one of the points I try to make is that IMHO NIO is considerably easier to learn than old IO as your first networking technology.
Like trying to teach Smalltalk as a first programming langauge rather than say Basic - ST is much easier, but only if you’ve never programmed in something like basic / pascal / etc.
Ditto functional languages are extremely hard to get used to for many people who’ve learnt any significant C or C++, but typically much easier for people who’ve done none.
And, other than joining an existing project that uses old IO rather than NIO, I can’t see a situation where knowing NIO but not old IO is going to be a disadvantage.
Just like you were saying with Collections the other day (“Vector is a dead-end technology…not going to be updated in the future” IIRC?) - NIO is the future path for all I/O in Java, AFAICS. Since it performs an excellent unification of both internal (memory-intensive) and external (networking, hard-drives) I/O routines, AND it allows the explicit use and control of higher-performance low-level OS primitives AND it’s easier to use than old IO!
Shrug. Only suggested it anyway because no-one else had come forward with other suggestions :).