The Definitive Guide to Linux Network Programming is designed for individuals with a knowledge of C and coding under Linux. It will introduce you to the basics of clients and servers, using SSL, sessioned versus sessionless protocols and more.
Chapter 3 -- Socket Programming -- looks at transferring files, error handling and error checking between User Datagram Protocol servers and clients.
Chapter 3, "Socket Programming," is excerpted from Definitive Guide to Linux Network Programming by Keir Davis, John W. Turner, Nathan Yocom, published in August 2004, by Apress (ISBN: 1-59059-322-7). Copyright © 2004, Apress. All rights reserved. Reprinted with permission by Apress.
This was first published in November 2006