Chapter 16: Network Code Patterns in C

 < Day Day Up > 



Introduction

In this chapter, we look at a number of simple socket-based applications in the C language using the BSD Sockets API. These applications can serve as implemented software patterns for the construction of more advanced networking applications. Each of the subsequent language code pattern chapters illustrates the same applications written in the chapter’s specified language.

Note 

All software discussed here is also provided on the companion CD-ROM with appropriate Makefiles. Table 16.1 lists the applications and their locations on the CD-ROM.

Table 16.1: CD-ROM COMPANION SOFTWARE

Code Pattern

CD-ROM Location

Stream server/client

./software/ch16/stream/

Datagram server/client

./software/ch16/dgram/

Multicast server/client

./software/ch16/mcast/

Broadcast server/client

./software/ch16/bcast

Simple HTTP server

./software/ch16/shttp/

Simple SMTP client

./software/ch16/smtpc/



 < Day Day Up > 



BSD Sockets Programming from a Multi-Language Perspective
Network Programming for Microsoft Windows , Second Edition (Microsoft Programming Series)
ISBN: 1584502681
EAN: 2147483647
Year: 2003
Pages: 225
Authors: Jim Ohlund

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net