后端开发
Node.js、NestJS、Spring Boot、Python 后端、Socket、Nginx 与支付集成的服务器端开发。
TCP Server Implementation
TCP servers are connection-oriented and provide reliable, ordered communication. This module teaches you how to build a TCP server from scratch.
阅读文章 →TCP Client Implementation
TCP clients initiate connections to servers and communicate over reliable, ordered connections. This module covers building TCP clients.
阅读文章 →Handling Multiple Clients
A basic TCP server handles only one client at a time. Real-world servers need to handle multiple clients concurrently. This module covers different approaches.
阅读文章 →TCP Error Handling
Robust error handling is crucial for production socket applications. This module covers common errors and how to handle them properly.
阅读文章 →UDP Server Implementation
UDP (User Datagram Protocol) is connectionless and provides fast, low-overhead communication. This module covers building UDP servers.
阅读文章 →UDP Client Implementation
UDP clients are simpler than TCP clients since no connection is required. This module covers building UDP clients.
阅读文章 →UDP vs TCP Comparison
Understanding when to use UDP vs TCP is crucial for effective socket programming. This module provides a detailed comparison.
阅读文章 →Byte Ordering (Endianness)
Byte ordering, or endianness, determines how multi-byte values are stored in memory. This is crucial for network communication where different systems may use different byte orders.
阅读文章 →Address Structures
Socket addresses are represented differently in different languages and APIs. This module explains address structures and how to work with them.
阅读文章 →Exercise 1: Echo Server
Build a TCP echo server that receives messages from clients and sends them back.
阅读文章 →Exercise 2: Chat Application
Build a multi-user chat server where clients can send messages that are broadcast to all connected clients.
阅读文章 →Exercise 3: File Transfer Application
Build a file transfer server and client that can reliably transfer files over TCP, handling large files and showing progress.
阅读文章 →Exercise 4: Simple HTTP Server
Build a minimal HTTP/1.0 server that can serve static files and handle basic HTTP requests.
阅读文章 →Non-blocking I/O
Non-blocking I/O allows sockets to perform operations without waiting. This is essential for handling multiple connections efficiently in a single thread.
阅读文章 →Socket Security Fundamentals
Security is critical in network programming. This module covers fundamental security concepts and practices for socket applications.
阅读文章 →How HTTPS Talks: Client and Server Communication
HTTPS is HTTP over TLS (Transport Layer Security). The application data (HTTP) is unchanged; the difference is that it is sent over an encrypted, authenticated channel. This module explains how that channel is set up and
阅读文章 →Socket Programming Quick Reference
A quick reference guide for common socket programming tasks and patterns.
阅读文章 →Socket Programming - Comprehensive Teaching Materials
A complete educational resource for learning socket programming from fundamentals to advanced topics.
阅读文章 →C Socket Examples
Minimal TCP, UDP, and HTTPS client examples matching the Python versions in ../python/.
阅读文章 →Spring Boot Teaching Materials — Beginner to Expert
Comprehensive, classroom-ready materials for teaching Spring Boot from absolute beginners to advanced practitioners. Includes written modules and runnable code.
阅读文章 →Spring Boot Code Examples
Working code for the Spring Boot Teaching Materials.
阅读文章 →Spring Boot Advanced Code
Corresponds to Modules 9–12 (Testing, Actuator, Production Deployment, Microservices patterns).
阅读文章 →Spring Boot Beginner Code
Corresponds to Modules 1–4 (What is Spring Boot, Setup, First Application, Core Concepts).
阅读文章 →Spring Boot Intermediate Code
Corresponds to Modules 5–8 (REST APIs, Spring Data JPA, Spring Security, Configuration).
阅读文章 →