I think almost all beginner level books will tell the basics of network programming.
To list a few there is Java 2 Complete Reference by Herbert Schildt(I dont know if it has a latest version), Thinking in Java by Bruce Eckel is another good book.Similarly there are books from Sams publishing (I hava only heard of them, never used)
Hope this helps