TCP/IP Sockets in C#: Practical Guide for Programmers (Paperback)
暫譯: C# 中的 TCP/IP 套接字:程式設計師實用指南 (平裝本)
David Makofske, Michael J. Donahoo, Kenneth L. Calvert
- 出版商: Morgan Kaufmann
- 出版日期: 2004-04-29
- 售價: $1,400
- 貴賓價: 9.5 折 $1,330
- 語言: 英文
- 頁數: 175
- 裝訂: Paperback
- ISBN: 0124660517
- ISBN-13: 9780124660519
-
相關分類:
C#、TCP/IP
立即出貨 (庫存=1)
買這商品的人也買了...
-
$720$612 -
$590$466 -
$1,690$1,606 -
$580$493 -
$750$638 -
$560$476 -
$2,370$2,252 -
$1,250$1,225 -
$850$723 -
$480$379 -
$750$638 -
$780$616 -
$780$663 -
$490$382 -
$620$527 -
$902Computer Science Illuminated, 2/e
-
$650$507 -
$880$695 -
$920$902 -
$2,831Thinking in Java, 4/e (Paperback)
-
$780$663 -
$390$332 -
$650$507 -
$1,080CMMI: Guidelines for Process Integration and Product Improvement, 2/e
-
$600$480
相關主題
商品描述
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
Contents:
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
商品描述(中文翻譯)
# 描述:
TCP/IP Sockets in C# 是一本非常適合任何有興趣使用 Microsoft .Net 框架編寫網路應用程式的讀者的書籍。它獨特地結合了簡潔的文字和精心挑選的豐富範例。對於網路程式設計的初學者來說,這是一本很好的入門書;另一方面,專業人士也可以利用其中優秀的範例程式碼片段以及有關訊息解析和非同步程式設計等主題的資料。
—— Adarsh Khare, SDT, .Net Frameworks Team, Microsoft Corporation
C# 語言和 .NET 框架的受歡迎程度不斷上升,這歸功於其易用性、.NET 框架中可用的廣泛類別庫,以及 Microsoft Windows 作業系統的普及等優勢。TCP/IP Sockets in C# 專注於 Sockets API,這是用任何程式語言編寫網路應用程式的事實標準。從使用 TCP/IP(網際網路協定套件)的簡單客戶端和伺服器程式開始,學生和從業者迅速學習基礎知識,並進一步體驗包括非阻塞套接字、多路複用、執行緒、非同步程式設計和多播等進階主題。關鍵的網路程式設計概念,如封裝、效能和死鎖,通過實作範例進行說明。這本書採用詳細而清晰、簡潔的方法,包含大量程式碼範例和專注的討論,以提供對於在 C# 中編程 TCP/IP 套接字的堅實理解。
# 特點
- 基於教程的關鍵套接字程式設計技術教學,並在全書中輔以大量程式碼範例
- 討論迅速進入 C# Sockets API 的定義和程式碼範例,適合希望快速上手的讀者
- 重要的「底層」細節涵蓋,開發人員在創建和使用套接字或利用套接字的高級 TCP 類時會發現有用
- 包含章節末的練習題以促進學習,以及可在書籍伴隨網站下載的範例程式碼
# 內容:
1 介紹
1.1 網路、封包和協定
1.2 關於地址
1.3 關於名稱
1.4 客戶端和伺服器
1.5 什麼是套接字?
1.6 練習
2 基本套接字
2.1 套接字地址
2.2 .NET 中的套接字實作
2.3 TCP 套接字
2.4 UDP 套接字
2.5 .NET 套接字類
2.6 練習
3 發送和接收訊息
3.1 編碼資訊
3.2 組合 I/O 流
3.3 封裝和解析
3.4 在 C# 中實作線路格式
3.5 總結
3.6 練習
4 超越基礎
4.1 非阻塞 I/O
4.2 多路複用
4.3 執行緒
4.4 非同步 I/O
4.5 多個接收者
4.6 關閉連接
4.7 總結
4.8 練習
5 底層細節
5.1 緩衝和 TCP
5.2 緩衝死鎖
5.3 效能影響
5.4 TCP 套接字生命週期
5.5 去神秘化的多路分解
5.6 練習
附錄:處理套接字錯誤
參考文獻
索引