Buy Unix Network Programming, Volume 1 at Bookstore UAE
Book 1
Book 2
Book 3
Book 1
Book 2
Book 3
Book 1
Book 2
Book 3
Book 1
Book 2
Book 3
Home > Computing and Information Technology > Operating systems > Open source and other operating systems > Unix Network Programming, Volume 1: The Sockets Networking API(Addison-Wesley Professional Computing Series)
Unix Network Programming, Volume 1: The Sockets Networking API(Addison-Wesley Professional Computing Series)

Unix Network Programming, Volume 1: The Sockets Networking API(Addison-Wesley Professional Computing Series)


     0     
5
4
3
2
1



Out of Stock


Notify me when this book is in stock
X
About the Book

This is THE guide to UNIX network programming APIs. 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, Third Edition. In this book, the Authors offer unprecedented, start-to-finish guidance on making the most of sockets, the de facto standard for UNIX network programming with APIs - as well as extensive coverage of the X/Open Transport Interface (XTI).

Table of Contents:
Foreword. Preface. I. INTRODUCTION AND TCP/IP. 1. Introduction. Introduction. A Simple Daytime Client. Protocol Independence. Error Handling: Wrapper Functions. A Simple Daytime Server. Roadmap to Client/Server Examples in the Text. OSI Model. BSD Networking History. Test Networks and Hosts. Unix Standards. 64-Bit Architectures. Summary. 2. The Transport Layer: TCP, UDP, and SCTP. Introduction. The Big Picture. User Datagram Protocol (UDP). Transmission Control Protocol (TCP). Stream Control Transmission Protocol (SCTP). TCP Connection Establishment and Termination. TIME_WAIT State. SCTP Association Establishment and Termination. Port Numbers. TCP Port Numbers and Concurrent Servers. Buffer Sizes and Limitations. Standard Internet Services. Protocol Usage by Common Internet Applications. Summary. II. ELEMENTARY SOCKETS. 3. Sockets Introduction. Introduction. Socket Address Structures. Value-Result Arguments. Byte Ordering Functions. Byte Manipulation Functions. inet_aton, inet_addr, and inet_ntoa Functions. inet_pton and inet_ntop Functions. sock_ntop and Related Functions. readn, writen, and readline Functions. Summary. 4. Elementary TCP Sockets. Introduction. socket Function. connect Function. bind Function. listen Function. accept Function. fork and exec Functions. Concurrent Servers. close Function. getsockname and getpeername Functions. Summary. 5. TCP Client/Server Example. Introduction. TCP Echo Server: main Function. TCP Echo Server: str_echo Function. TCP Echo Client: main Function. TCP Echo Client: str_cli Function. Normal Startup. Normal Termination. POSIX Signal Handling. Handling SIGCHLD Signals. wait and waitpid Functions. Connection Abort before accept Returns. Termination of Server Process. SIGPIPE Signal. Crashing of Server Host. Crashing and Rebooting of Server Host. Shutdown of Server Host. Summary of TCP Example. Data Format. Summary. 6. I/O Multiplexing: The select and poll Functions. Introduction. I/O Models. select Function. str_cli Function (Revisited). Batch Input and Buffering. shutdown Function. str_cli Function (Revisited Again). TCP Echo Server (Revisited). pselect Function. poll Function. TCP Echo Server (Revisited Again). Summary. 7. Socket Options. Introduction. getsockopt and setsockopt Functions. Checking if an Option Is Supported and Obtaining the Default. Socket States. Generic Socket Options. IPv4 Socket Options. ICMPv6 Socket Option. IPv6 Socket Options. TCP Socket Options. SCTP Socket Options. fcntl Function. Summary. 8. Elementary UDP Sockets. Introduction. recvfrom and sendto Functions. UDP Echo Server: main Function. UDP Echo Server: dg_echo Function. UDP Echo Client: main Function. UDP Echo Client: dg_cli Function. Lost Datagrams. Verifying Received Response. Server Not Running. Summary of UDP Example. connect Function with UDP. dg_cli Function (Revisited). Lack of Flow Control with UDP. Determining Outgoing Interface with UDP. TCP and UDP Echo Server Using select. Summary. 9. Elementary SCTP Sockets. Introduction. Interface Models. sctp_bindx Function. sctp_connectx Function. sctp_getpaddrs Function. sctp_freepaddrs Function. sctp_getladdrs Function. sctp_freeladdrs Function. sctp_sendmsg Function. sctp_recvmsg Function. sctp_opt_info Function. sctp_peeloff Function. shutdown Function. Notifications. Summary. 10. SCTP Client/Server Example. Introduction. SCTP One-to-Many-Style Streaming Echo Server: main Function. SCTP One-to-Many-Style Streaming Echo Client: main Function. SCTP Streaming Echo Client: str_cli Function. Exploring Head-of-Line Blocking. Controlling the Number of Streams. Controlling Termination. Summary. 11. Name and Address Conversions. Introduction. Domain Name System (DNS). gethostbyname Function. gethostbyaddr Function. getservbyname and getservbyport Functions. getaddrinfo Function. gai_strerror Function. freeaddrinfo Function. getaddrinfo Function: IPv6. getaddrinfo Function: Examples. host_serv Function. tcp_connect Function. tcp_listen Function. udp_client Function. udp_connect Function. udp_server Function. getnameinfo Function. Re-entrant Functions. gethostbyname_r and gethostbyaddr_r Functions. Obsolete IPv6 Address Lookup Functions. Other Networking Information. Summary. III. ADVANCED SOCKETS. 12. IPv4 and IPv6 Interoperability. Introduction. IPv4 Client, IPv6 Server. IPv6 Client, IPv4 Server. IPv6 Address-Testing Macros. Source Code Portability. Summary. 13. Daemon Processes and the inetd Superserver. Introduction. syslogd Daemon. syslog Function. daemon_init Function. inetd Daemon. daemon_inetd Function. Summary. 14. Advanced I/O Functions. Introduction. Socket Timeouts. recv and send Functions. readv and writev Functions. recvmsg and sendmsg Functions. Ancillary Data. How Much Data Is Queued? Sockets and Standard I/O. Advanced Polling. Summary. 15. Unix Domain Protocols. Introduction. Unix Domain Socket Address Structure. socketpair Function. Socket Functions. Unix Domain Stream Client/Server. Unix Domain Datagram Client/Server. Passing Descriptors. Receiving Sender Credentials. Summary. 16. Nonblocking I/O. Introduction. Nonblocking Reads and Writes: str_cli Function (Revisited). Nonblocking connect. Nonblocking connect: Daytime Client. Nonblocking connect: Web Client. Nonblocking accept. Summary. 17. ioctl Operations. Introduction. ioctl Function. Socket Operations. File Operations. Interface Configuration. get_ifi_info Function. Interface Operations. ARP Cache Operations. Routing Table Operations. Summary. 18. Routing Sockets. Introduction. Datalink Socket Address Structure. Reading and Writing. sysctl Operations. get_ifi_info Function (Revisited). Interface Name and Index Functions. Summary. 19. Key Management Sockets. Introduction. Reading and Writing. Dumping the Security Association Database (SADB). Creating a Static Security Association (SA). Dynamically Maintaining SAs. Summary. 20. Broadcasting. Introduction. Broadcast Addresses. Unicast versus Broadcast. dg_cli Function Using Broadcasting. Race Conditions. Summary. 21. Multicasting. Introduction. Multicast Addresses. Multicasting versus Broadcasting on a LAN. Multicasting on a WAN. Source-Specific Multicast. Multicast Socket Options. mcast_join and Related Functions. dg_cli Function Using Multicasting. Receiving IP Multicast Infrastructure Session Announcements. Sending and Receiving. Simple Network Time Protocol (SNTP). Summary. 22. Advanced UDP Sockets. Introduction. Receiving Flags, Destination IP Address, and Interface Index. Datagram Truncation. When to Use UDP Instead of TCP. Adding Reliability to a UDP Application. Binding Interface Addresses. Concurrent UDP Servers. IPv6 Packet Information. IPv6 Path MTU Control. Summary. 23. Advanced SCTP Sockets. Introduction. An Autoclosing One-to-Many-Style Server. Partial Delivery. Notifications. Unordered Data. Binding a Subset of Addresses. Determining Peer and Local Address Information. Finding an Association ID Given an IP Address. Heartbeating and Address Failure. Peeling Off an Association. Controlling Timing. When to Use SCTP Instead of TCP. Summary. 24. Out-of-Band Data. Introduction. TCP Out-of-Band Data. sockatmark Function. TCP Out-of-Band Data Recap. Summary. 25. Signal-Driven I/O. Introduction. Signal-Driven I/O for Sockets. UDP Echo Server Using SIGIO. Summary. 26. Threads. Introduction. Basic Thread Functions: Creation and Termination. str_cli Function Using Threads. TCP Echo Server Using Threads. Thread-Specific Data. Web Client and Simultaneous Connections (Continued). Mutexes: Mutual Exclusion. Condition Variables. Web Client and Simultaneous Connections (Continued). Summary. 27. IP Options. Introduction. IPv4 Options. IPv4 Source Route Options. IPv6 Extension Headers. IPv6 Hop-by-Hop Options and Destination Options. IPv6 Routing Header. IPv6 Sticky Options. Historical IPv6 Advanced API. Summary. 28. Raw Sockets. Introduction. Raw Socket Creation. Raw Socket Output. Raw Socket Input. ping Program. traceroute Program. An ICMP Message Daemon. Summary. 29. Datalink Access. Introduction. BSD Packet Filter (BPF). Datalink Provider Interface (DLPI). Linux: SOCK_PACKET and PF_PACKET. libpcap: Packet Capture Library. libnet: Packet Creation and Injection Library. Examining the UDP Checksum Field. Summary. 30. Client/Server Design Alternatives. Introduction. TCP Client Alternatives. TCP Test Client. TCP Iterative Server. TCP Concurrent Server, One Child per Client. TCP Preforked Server, No Locking Around accept. TCP Preforked Server, File Locking Around accept. TCP Preforked Server, Thread Locking Around accept. TCP Preforked Server, Descriptor Passing. TCP Concurrent Server, One Thread per Client. TCP Prethreaded Server, per-Thread accept. TCP Prethreaded Server, Main Thread accept. Summary. 31. STREAMS. Introduction. Overview. getmsg and putmsg Functions. getpmsg and putpmsg Functions. ioctl Function. Transport Provider Interface (TPI). Summary. Appendix A. IPv4, IPv6, ICMPv4, and ICMPv6. Introduction. IPv4 Header. IPv6 Header. IPv4 Addresses. IPv6 Addresses. Internet Control Message Protocols (ICMPv4 and ICMPv6). Appendix B. Virtual Networks. Introduction. The MBone. The 6bone. IPv6 Transition: 6to4. Appendix C. Debugging Techniques. System Call Tracing. Standard Internet Services. sock Program. Small Test Programs. tcpdump Program. netstat Program. lsof Program. Appendix D. Miscellaneous Source Code. unp.h Header. config.h Header. Standard Error Functions. Appendix E. Solutions to Selected Exercises. Bibliography. Index.

About the Author :
The late W. RICHARD STEVENS was the original author of UNIX Network Programming, First and Second Editions, widely recognized as the classic texts in UNIX networking. BILL FENNER is Principal Technical Staff Member at AT&T Labs in Menlo Park, CA, specializing in IP multicasting, network management, and measurement. He is one of the IETF's Routing Area Directors, responsible for approving all routing-related documents that get published as RFCs. ANDREW M. RUDOFF, Senior Software Engineer at Sun Microsystems, specializes in networking, operating systems internals, file systems, and high availability software architecture.


Best Sellers


Product Details
  • ISBN-13: 9780131411555
  • Publisher: Pearson Education (US)
  • Publisher Imprint: Addison Wesley
  • Height: 236 mm
  • No of Pages: 1024
  • Series Title: Addison-Wesley Professional Computing Series
  • Sub Title: The Sockets Networking API
  • Width: 188 mm
  • ISBN-10: 0131411551
  • Publisher Date: 27 Nov 2003
  • Binding: Hardback
  • Language: English
  • Returnable: N
  • Spine Width: 38 mm
  • Weight: 1414 gr


Similar Products

Add Photo
Add Photo

Customer Reviews

REVIEWS      0     
Click Here To Be The First to Review this Product
Unix Network Programming, Volume 1: The Sockets Networking API(Addison-Wesley Professional Computing Series)
Pearson Education (US) -
Unix Network Programming, Volume 1: The Sockets Networking API(Addison-Wesley Professional Computing Series)
Writing guidlines
We want to publish your review, so please:
  • keep your review on the product. Review's that defame author's character will be rejected.
  • Keep your review focused on the product.
  • Avoid writing about customer service. contact us instead if you have issue requiring immediate attention.
  • Refrain from mentioning competitors or the specific price you paid for the product.
  • Do not include any personally identifiable information, such as full names.

Unix Network Programming, Volume 1: The Sockets Networking API(Addison-Wesley Professional Computing Series)

Required fields are marked with *

Review Title*
Review
    Add Photo Add up to 6 photos
    Would you recommend this product to a friend?
    Tag this Book Read more
    Does your review contain spoilers?
    What type of reader best describes you?
    I agree to the terms & conditions
    You may receive emails regarding this submission. Any emails will include the ability to opt-out of future communications.

    CUSTOMER RATINGS AND REVIEWS AND QUESTIONS AND ANSWERS TERMS OF USE

    These Terms of Use govern your conduct associated with the Customer Ratings and Reviews and/or Questions and Answers service offered by Bookswagon (the "CRR Service").


    By submitting any content to Bookswagon, you guarantee that:
    • You are the sole author and owner of the intellectual property rights in the content;
    • All "moral rights" that you may have in such content have been voluntarily waived by you;
    • All content that you post is accurate;
    • You are at least 13 years old;
    • Use of the content you supply does not violate these Terms of Use and will not cause injury to any person or entity.
    You further agree that you may not submit any content:
    • That is known by you to be false, inaccurate or misleading;
    • That infringes any third party's copyright, patent, trademark, trade secret or other proprietary rights or rights of publicity or privacy;
    • That violates any law, statute, ordinance or regulation (including, but not limited to, those governing, consumer protection, unfair competition, anti-discrimination or false advertising);
    • That is, or may reasonably be considered to be, defamatory, libelous, hateful, racially or religiously biased or offensive, unlawfully threatening or unlawfully harassing to any individual, partnership or corporation;
    • For which you were compensated or granted any consideration by any unapproved third party;
    • That includes any information that references other websites, addresses, email addresses, contact information or phone numbers;
    • That contains any computer viruses, worms or other potentially damaging computer programs or files.
    You agree to indemnify and hold Bookswagon (and its officers, directors, agents, subsidiaries, joint ventures, employees and third-party service providers, including but not limited to Bazaarvoice, Inc.), harmless from all claims, demands, and damages (actual and consequential) of every kind and nature, known and unknown including reasonable attorneys' fees, arising out of a breach of your representations and warranties set forth above, or your violation of any law or the rights of a third party.


    For any content that you submit, you grant Bookswagon a perpetual, irrevocable, royalty-free, transferable right and license to use, copy, modify, delete in its entirety, adapt, publish, translate, create derivative works from and/or sell, transfer, and/or distribute such content and/or incorporate such content into any form, medium or technology throughout the world without compensation to you. Additionally,  Bookswagon may transfer or share any personal information that you submit with its third-party service providers, including but not limited to Bazaarvoice, Inc. in accordance with  Privacy Policy


    All content that you submit may be used at Bookswagon's sole discretion. Bookswagon reserves the right to change, condense, withhold publication, remove or delete any content on Bookswagon's website that Bookswagon deems, in its sole discretion, to violate the content guidelines or any other provision of these Terms of Use.  Bookswagon does not guarantee that you will have any recourse through Bookswagon to edit or delete any content you have submitted. Ratings and written comments are generally posted within two to four business days. However, Bookswagon reserves the right to remove or to refuse to post any submission to the extent authorized by law. You acknowledge that you, not Bookswagon, are responsible for the contents of your submission. None of the content that you submit shall be subject to any obligation of confidence on the part of Bookswagon, its agents, subsidiaries, affiliates, partners or third party service providers (including but not limited to Bazaarvoice, Inc.)and their respective directors, officers and employees.

    Accept

    Fresh on the Shelf


    Inspired by your browsing history


    Your review has been submitted!

    You've already reviewed this product!