ABSTRACT

This chapter is about the basics of network programming. It introduces the reader to the concept of writing client-server code. The client usually acts as the agent sourcing data to the server that listens for data from multiple clients. Out of the different techniques that are used for client-server programming, this chapter specifically deals with socket programming. Programming for TCP and UDP transport between client and server is also discussed.