did-you-know? rent-now

Amazon no longer offers textbook rentals. We do!

did-you-know? rent-now

Amazon no longer offers textbook rentals. We do!

We're the #1 textbook rental company. Let us show you why.

9780124660519

TCP/IP Sockets in C#

by ; ;
  • ISBN13:

    9780124660519

  • ISBN10:

    0124660517

  • Format: Paperback
  • Copyright: 2004-04-29
  • Publisher: Elsevier Science
  • Purchase Benefits
  • Free Shipping Icon Free Shipping On Orders Over $35!
    Your order must be $35 or more to qualify for free economy shipping. Bulk sales, PO's, Marketplace items, eBooks and apparel do not qualify for this offer.
  • eCampus.com Logo Get Rewarded for Ordering Your Textbooks! Enroll Now
  • Complimentary 7-Day eTextbook Access - Read more
    When you rent or buy this book, you will receive complimentary 7-day online access to the eTextbook version from your PC, Mac, tablet, or smartphone. Feature not included on Marketplace Items.
List Price: $33.95 Save up to $0.17
  • Buy New
    $33.78

    PRINT ON DEMAND: 2-4 WEEKS. THIS ITEM CANNOT BE CANCELLED OR RETURNED.

    7-Day eTextbook Access 7-Day eTextbook Access

Supplemental Materials

What is included with this book?

Summary

"TCP/IP sockets in C# is an excellent book for anyone interested in writing network applications using Microsoft .Net frameworks. It is a unique combination of well written concise text and rich carefully selected set of working examples. For the beginner of network programming, it's a good starting book; on the other hand professionals could also take advantage of excellent handy sample code snippets and material on topics like message parsing and asynchronous programming." Adarsh Khare, SDT, .Net Frameworks Team, Microsoft Corporation The popularity of the C# language and the .NET framework is ever rising due to its ease of use, the extensive class libraries available in the .NET Framework, and the ubiquity of the Microsoft Windows operating system, to name a few advantages. TCP/IP Sockets in C# focuses on the Sockets API, the de facto standard for writing network applications in any programming language. Starting with simple client and server programs that use TCP/IP (the Internet protocol suite), students and practitioners quickly learn the basics and move on to firsthand experience with advanced topics including non-blocking sockets, multiplexing, threads, asynchronous programming, and multicasting. Key network programming concepts such as framing, performance and deadlocks are illustrated through hands-on examples. Using a detailed yet clear, concise approach, this book includes numerous code examples and focused discussions to provide a solid understanding of programming TCP/IP sockets in C#. Features *Tutorial-based instruction in key sockets programming techniques complemented by numerous code examples throughout *Discussion moves quickly into the C# Sockets API definition and code examples, desirable for those who want to get up-to-speed quickly *Important coverage of "under the hood" details that developers will find useful when creating and using a socket or a higher level TCP class that utilizes sockets *Includes end-of-chapter exercises to facilitate learning, as well as sample code available for download at the books companion web site *Tutorial-based instruction in key sockets programming techniques complemented by numerous code examples throughout *Discussion moves quickly into the C# Sockets API definition and code examples, desirable for those who want to get up-to-speed quickly *Important coverage of "under the hood" details that developers will find useful when creating and using a socket or a higher level TCP class that utilizes sockets *Includes end-of-chapter exercises to facilitate learning, as well as sample code available for download at the book's companion web site

Table of Contents

Preface ix
1 Introduction 1(8)
1.1 Networks, Packets, and Protocols
1(3)
1.2 About Addresses
4(1)
1.3 About Names
5(1)
1.4 Clients and Servers
5(1)
1.5 What Is a Socket?
6(1)
1.6 Exercises
7(2)
2 Basic Sockets 9(50)
2.1 Socket Addresses
9(6)
2.2 Socket Implementation in .NET
15(1)
2.3 TCP Sockets
16(13)
2.4 UDP Sockets
29(8)
2.5 The .NET Socket Class
37(20)
2.6 Exercises
57(2)
3 Sending and Receiving Messages 59(26)
3.1 Encoding Information
61(4)
3.2 Composing I/O Streams
65(1)
3.3 Framing and Parsing
66(4)
3.4 Implementing Wire Formats in C#
70(13)
3.5 Wrapping Up
83(1)
3.6 Exercises
84(1)
4 Beyond the Basics 85(62)
4.1 Nonblocking I/O
85(10)
4.2 Multiplexing
95(4)
4.3 Threads
99(18)
4.4 Asynchronous I/O
117(14)
4.5 Multiple Recipients
131(7)
4.6 Closing Connections
138(7)
4.7 Wrapping Up
145(1)
4.8 Exercises
146(1)
5 Under the Hood 147(22)
5.1 Buffering and TCP
149(3)
5.2 Buffer Deadlock
152(2)
5.3 Performance Implications
154(1)
5.4 TCP Socket Life Cycle
155(10)
5.5 Demultiplexing Demystified
165(2)
5.6 Exercises
167(2)
Appendix: Handling Socket Errors 169(2)
Bibliography 171(2)
Index 173

Supplemental Materials

What is included with this book?

The New copy of this book will include any supplemental materials advertised. Please check the title of the book to determine if it should include any access cards, study guides, lab manuals, CDs, etc.

The Used, Rental and eBook copies of this book are not guaranteed to include any supplemental materials. Typically, only the book itself is included. This is true even if the title states it includes any access cards, study guides, lab manuals, CDs, etc.

Rewards Program