TCP/IP Sockets in C#,
Edition 1 Practical Guide for ProgrammersEditors: By David Makofske, Michael J. Donahoo and Kenneth L. Calvert
Publication Date:
29 Apr 2004
Ways Of Reading
-
This e-publication is accessible to the full extent that the file format and types of content allow, on a specific reading device, by default, without necessarily including any additions such as textual descriptions of images or enhanced navigation.
Navigation
-
The contents of the PDF have been tagged to permit access by assistive technologies as per PDF-UA-1 standard.
-
Page breaks included from the original print source
Additional Accessibility Information
-
All (or substantially all) textual matter is arranged in a single logical reading order (including text that is visually presented as separate from the main text flow, e.g., in boxouts, captions, tables, footnotes, endnotes, citations, etc.). Non-textual content is also linked from within this logical reading order. (Purely decorative non-text content can be ignored).
-
The language of the text has been specified (e.g., via the HTML or XML lang attribute) to optimise text-to-speech (and other alternative renderings), both at the whole document level and, where appropriate, for individual words, phrases or passages in a different language.
Conformance
-
The publication was certified on 20250625
-
Accessibility addendum
-
For detailed accessibility information, see Elsevier’s website at https://www.elsevier.com/about/accessibility
-
For queries regarding accessibility information, contact [email protected]
Note
-
This product relies on 3rd party tooling which may impact the accessibility features visible in inspection copies. All accessibility features mentioned would be present in the purchased version of the title.
Description
"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 book’s companion web site
Key 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 book's companion web site
About the author
By David Makofske, Akamai Technologies, Fort Lee, NJ; Michael J. Donahoo, Baylor University, Waco, TX, USA and Kenneth L. Calvert, University of Kentucky, Lexington, KY, USA
1 Introduction
1.1 Networks, Packets,and Protocols
1.2 About Addresses
1.3 About Names
1.4 Clients and Servers
1.5 What Is a Socket?
1.6 Exercises
2 Basic Sockets
2.1 Socket Addresses
2.2 Socket Implementationin.NET
2.3 TCP Sockets
2.4 UDP Sockets
2.5 The.NET Socket Class
2.6 Exercises
3 Sending and Receiving Messages
3.1 Encoding Information
3.2 Composing I/O Streams
3.3 Framing and Parsing
3.4 Implementing Wire Formats in C#
3.5 Wrapping Up
3.6 Exercises
4 Beyond the Basics
4.1 Nonblocking I/O
4.2 Multiplexing
4.3 Threads
4.4 Asynchronous I/O
4.5 Multiple Recipients
4.6 Closing Connections
4.7 Wrapping Up
4.8 Exercises
5 Under the Hood
5.1 Buffering and TCP
5.2 Buffer Deadlock
5.3 Performance Implications
5.4 TCP Socket Life Cycle
5.5 Demultiplexing Demystified
5.6 Exercises
Appendix: Handling Socket Errors
Bibliography
Index
1.1 Networks, Packets,and Protocols
1.2 About Addresses
1.3 About Names
1.4 Clients and Servers
1.5 What Is a Socket?
1.6 Exercises
2 Basic Sockets
2.1 Socket Addresses
2.2 Socket Implementationin.NET
2.3 TCP Sockets
2.4 UDP Sockets
2.5 The.NET Socket Class
2.6 Exercises
3 Sending and Receiving Messages
3.1 Encoding Information
3.2 Composing I/O Streams
3.3 Framing and Parsing
3.4 Implementing Wire Formats in C#
3.5 Wrapping Up
3.6 Exercises
4 Beyond the Basics
4.1 Nonblocking I/O
4.2 Multiplexing
4.3 Threads
4.4 Asynchronous I/O
4.5 Multiple Recipients
4.6 Closing Connections
4.7 Wrapping Up
4.8 Exercises
5 Under the Hood
5.1 Buffering and TCP
5.2 Buffer Deadlock
5.3 Performance Implications
5.4 TCP Socket Life Cycle
5.5 Demultiplexing Demystified
5.6 Exercises
Appendix: Handling Socket Errors
Bibliography
Index
Title Reviews
"TCP/IP sockets in C# is an excellent book for anyone interested in writing network applications using Microsoft .Net frameworks."—Adarsh Khare, SDT, .Net Frameworks Team, Microsoft Corporation
ISBN:
9780124660519
Page Count:
192
Retail Price (USD)
:
C# Network Programming by Blum,656 pages, Sybex, Nov. 02, ISBN: 0782141765; $59.99, Amazon rank 29,556
Software applications developers and programmers who use the C# language