I'm trying to learn sockets in Java.