CINXE.COM
Unix Network Programming
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> <HTML VERSION="2.0"> <HEAD> <TITLE>Unix Network Programming</TITLE> <meta name="MSSmartTagsPreventParsing" content="TRUE"> <meta name="keywords" content="W. Richard Stevens Advanced Unix Unix network programming examples source-code source code"> <meta name="description" content="Unix network programming: by W. Richard Stevens. Working examples with source-code"> </HEAD> <BODY bgcolor="#f0f0f0"> <blockquote> <center> <br> <H3><a href="http://www.amazon.com/exec/obidos/ISBN=0131411551/thevanishedgalle/">Unix Network Programming</a><br> <a href="http://www.amazon.com/exec/obidos/ISBN=0131411551/thevanishedgalle/"><font size="2">(Vol 1: Networking APIs: Sockets and XTI</font></a> <p> <a href="http://www.amazon.com/exec/obidos/ISBN=0130810819/thevanishedgalle/">Unix Network Programming</a><br> <a href="http://www.amazon.com/exec/obidos/ISBN=0130810819/thevanishedgalle/"><font size="2">(Vol 2: Interprocess Communications</a></font></a></H3> <P><B>by W. Richard Stevens</B><BR> Prentice Hall<BR> </P> </center> <center> <HR noshade> <a href="./">Click here for all the source examples</a><br> <HR noshade> </center> <p> <b><i>From the covers:</i></b> <p> <h3>Unix Network Programming<br> Volume 1: Networking APIs</h3> <p> <a href="http://www.amazon.com/exec/obidos/ISBN=0131411551/thevanishedgalle/"> <img src="unp1.gif" valign="top" align="left" alt="Unix network programming vol 1" width="105" height="140" hspace="16"> </a> Thorough and authoritative, this book contains comprehensive coverage of the sockets API, the de-facto standard for network programming. Once the basics are covered, the author moves on to advanced sockets topics, including IPv4 and IPv6 interoperability, UNIX domain protocols, nonblocking I/O, broadcasting, multicasting, threads and routing sockets. Client/server design alternatives are also fully examined. <p> The only guide to UNIX network programming APIs you'll ever need. Whether you write Web servers, client/server applications, or any other network software, you need to understand networking APIS-especially sockets in greater detail than ever before. You need UNIX Network Programming, Volume 1, Second Edition. <p> In this book, leading UNIX networking expert W. Richard Stevens offers unprecedented, start-to-finish guidance on making the most of sockets, the de facto standard for UNIX network programming-as well as extensive coverage of the X/Open Transport Interface (XTI). Stevens begins by introducing virtually every basic capability of TCP and UDP sockets, including socket functions and options, I/O multiplexing, and name and address conversions. He presents detailed coverage of the POSIX.1g standard for sockets and the POSIX threads. He also introduces advanced techniques for: <ul> <li> Establishing IPv4/IPv6 interoperability. <li> Implementing non-blocking I/O. <li> Routing sockets. <li> Broadcasting and multicasting. <li> IP options. <li> Multithreading. <li> Advanced name and address conversions. <li> UNIX domain protocols. <li> Raw sockets. </ul> <p> Learn how to choose among today's leading client/server design approaches, including TCP iterative, concurrent, preforked and prethreaded servers. Master the X/Open Transport Interface, including XTI TCP clients and servers, name and address functions, options, streams and additional functions. <p> The Internet/intranet revolution has dramatically increased the demand for developers with a sophisticated understanding of network programming APIs, especially sockets. One book contains all you need to know: UNIX Network Programming, Volume 1, Second Edition. <hr noshade> <h3>Unix Network Programming,<br> Volume 2: Interprocess Communications</h3> <p> <a href="http://www.amazon.com/exec/obidos/ISBN=0130810819/thevanishedgalle/"> <img src="unp2.gif" valign="top" align="left" alt="Unix network programming vol 2" width="109" height="140" hspace="16"> </a> The only guide to UNIX® interprocess communications you'll ever need. Well-implemented interprocess communications (IPC) are key to the performance of virtually every non-trivial UNIX program. In UNIX Network Programming, Volume 2, Second Edition, legendary UNIX expert W. Richard Stevens presents a comprehensive guide to every form of IPC, including message passing, synchronization, shared memory, and Remote Procedure Calls (RPC). <p> Stevens begins with a basic introduction to IPC and the problems it is intended to solve. Step-by-step you'll learn how to maximize both System V IPC and the new Posix standards, which offer dramatic improvements in convenience and performance. You'll find extensive coverage of Pthreads, with many examples reflecting multiple threads instead of multiple processes. Along the way, you'll master every current IPC technique and technology, including: <ul> <li>Pipes and FIFOs. <li>Posix and System V Message Queues <li>Mutexes and Condition Variables <li>Read-Write Locks <li>Record Locking <li>Posix and System V Semaphores <li>Posix and System V Shared Memory <li>Solaris Doors and Sun RPC <li>Performance Measurements of IPC Techniques </ul> <p> If you've read Stevens' best-selling first edition of UNIX Network Programming, this book expands its IPC coverage by a factor of five! You won't just learn about IPC "from the outside." You'll actually create implementations of Posix message queues, read-write locks, and semaphores, gaining an in-depth understanding of these capabilities you simply can't get anywhere else. The book contains extensive new source code-all carefully optimized and available on the Web. You'll even find a complete guide to measuring IPC performance with message passing bandwidth and latency programs, and thread and process synchronization programs. The better you understand IPC, the better your UNIX software will run. One book contains all you need to know: UNIX Network Programming, Volume 2, 2nd Edition. <br> <HR noshade> <h3>About the Author</h3> W. RICHARD STEVENS is author of UNIX Network Programming, First Edition, widely recognized as the classic text in UNIX networking. He is also author of <a href="http://www.amazon.com/exec/obidos/ISBN=0201563177/thevanishedgalle/">Advanced Programming in the UNIX Environment</a> and the TCP/IP Illustrated Series. Stevens is an acknowledged UNIX and networking expert, sought-after instructor, and occasional consultant. <center> <HR noshade> </center> </blockquote> </BODY> </HTML>