Questo dovrebbe bastarti:
http://javaalmanac.com/egs/java.net/pkg.html#Sockets

ciao