Not sure if this has been posted, but TCP/IP Sockets in C by Michael Donahoo and Kenneth Calvert is a brilliant book for sockets programming. Good even if you don't have much previous programming knowledge.