Stevens, W. Richard.

UNIX network programming / by W. Richard Stevens. - New Delhi : Prentice Hall, c2001 - 772 p. : ill. ; 25 cm.

Includes bibliographical references and indexes.

INTRODUCTION AND TCP/IP 1. Introduction 2. The Transport Layer: TCP and UDP II. ELEMENTARY SOCKETS 3. Sockets Introduction 4. Socket Functions 5. TCP Client-Server Example 6. I/O Multiplexing: the select and poll Function 7. Socket Options 8. Elementary UDP Sockets 9. Elementary Name and Address Conversions III. Advanced Sockets 10. IPv4 and IPv6 Interoperability 11. Advanced Name and Address Conversions 12. Daemon Processes and inetd Superserver 13. Advanced I/O Functions 14. Unix Domain Protocols 15. Nonblocking I/O 16. ioctl Operations 17. Routing Sockets 18. Broadcasting 19. Multicasting 20. Advanced UDP Sockets 21. Out-of-Band Data 22. Signal-Driven I/O 23. Threads 24. IP Options 25. Raw Sockets 26. Datalink Access 27. Client-Server Design Alternatives IV. XTI: X/OPEN TRANSPORT INTERFACE 28. XTI: TCP Clients 29. XTI: Name and Address Functions 30. XTI: TCP Servers 31. XTI: UDP Clients and Servers 32. XTI Options 33. Streams 34. XTI: Additional Functions Appendix A. IPv4, IPv6, ICMPv4, and ICMPv6 Appendix B. Virtual Networks Appendix C. Debugging Techniques Appendix D. Miscellaneous Source Code Appendix E. Solutions to Selected Exercises Bibliography Index

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. 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: Establishing IPv4/IPv6 interoperability. Implementing non-blocking I/O. Routing sockets. Broadcasting and multicasting. IP options. Multithreading. Advanced name and address conversions. UNIX domain protocols. Raw sockets.

013490012X (v. 1) 0130810819 (v. 2) 8120307496

97-031761


Computer networks.
Internet programming.

QA76.76.O63 / S755 2001