- Network Programming with Rust
- Abhishek Chanda
- 309字
- 2021-06-24 19:09:08
What this book covers
Chapter 1, Introduction to Client/Server Networking, starts the book with a gentle introduction to computer networking from the ground up. This includes IP addressing, TCP/UDP, and DNS. This forms the basis of our discussions in later chapters.
Chapter 2, Introduction to Rust and its Ecosystem, contains an introduction to Rust. This is an overall introduction that should be good enough to get the reader started. We do assume some familiarity with programming.
Chapter 3, TCP and UDP Using Rust, dives into using Rust for networking. We start with basic socket programming using the standard library. We then look at some crates from the ecosystem that can be used for network programming.
Chapter 4, Data Serialization, Deserialization, and Parsing, explains that an important aspect of networked computing is handling data. This chapter is an introduction to serializing and deserializing data using Serde. We also look at parsing using nom and other frameworks.
Chapter 5, Application Layer Protocols, moves up a layer to look at protocols that operate above TCP/IP. We look at a few crates to work with, such as RPC, SMTP, FTP, and TFTP.
Chapter 6, Talking HTTP in the Internet, explains that arguably the most common application of the internet is HTTP. We look at crates such as Hyper and Rocket which are used for writing HTTP servers and clients.
Chapter 7, Asynchronous Network Programming Using Tokio, looks at the Tokio stack for asynchronous programming using futures, streams, and event loops.
Chapter 8, Security, delves into securing the services we have described so far. This is using certificates and secret keys.
Chapter 9, Appendix, discusses a number of crates have appeared that propose alternate ways of doing things already covered in this book. This includes the async/await syntax, parsing using Pest, and so on. We will discuss some of these in the appendix.
- 元器件易學(xué)通:常用器件分冊
- DSP原理及應(yīng)用:TMS320DM6437架構(gòu)、指令、功能模塊、程序設(shè)計及案例分析
- 半導(dǎo)體光電子學(xué)
- 通信電子線路
- 深入淺出SPN技術(shù)
- 移動應(yīng)用軟件測試技術(shù)與實踐
- 雙色圖文詳解電感器及應(yīng)用電路
- 現(xiàn)代移動通信技術(shù)與系統(tǒng)(第2版)
- 基于Multisim的電子系統(tǒng)設(shè)計、仿真與綜合應(yīng)用(第2版)
- SMT制造工藝實訓(xùn)教程
- 瓷片的誘惑
- 多媒體通信技術(shù)與應(yīng)用
- 信號/電源完整性仿真分析與實踐
- 面向?qū)拵o線接入的光載無線系統(tǒng)
- 現(xiàn)代移動通信(第5版)