http://cboard.cprogramming.com/networking-device-communication/41926-useful-links-good-books.html
Perhaps start with the "beej" tutorials.