Where to start?

I’ve been programming with java for a while now, and I’m wondering where to get started with networking? Anyone have a well documented simple networking example?

Im not that experienced with networking in java (as most of these forum members could tell you) im currently “attempting” to program a server to run a simple mmo off of… yeah, not turning out so well lol. But I know there some pretty good tutorials out there on using ServerSockets, which is what i have been using up to now… ill try to find one and repost later

I don’t know about Java, but for learning basic socket handling, search Google for Beej’s tutorials.

There is a somewhat “official” tutorial on this:
http://java.sun.com/docs/books/tutorial/networking/sockets/

or you could use some kind of library like
http://directory.apache.org/subprojects/network/index.html

I have not used mina, but it seems quite complete and has some documentation…

The best way to learn anything is by doing 8)

I’d pick a simple project, like maybe a small group LAN game.

On that level you won’t need the NIO socket sutff, which is more flexible but trickier, you can use the java.net.* socket stuff which is much easier to learn! You also wont be delaing with things like Internet latencies or analog connections, at least to start with.