From this tutorial you can learn all about sockets and its usage in Java programs. It teaches you sockets that can be employed to handle different situations. The tutorial supported with examples ranging from single server/client communication to a pooled collection of clients accessing the server.