S SmartDocs

後端開發

Node.js、NestJS、Spring Boot、Python 後端、Socket、Nginx 與金流整合的伺服器端開發。

sockets EN 更新於 2026-02-03

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.

閱讀文章 →
sockets EN 更新於 2026-02-03

TCP Client Implementation

TCP clients initiate connections to servers and communicate over reliable, ordered connections. This module covers building TCP clients.

閱讀文章 →
sockets EN 更新於 2026-02-03

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.

閱讀文章 →
sockets EN 更新於 2026-02-03

TCP Error Handling

Robust error handling is crucial for production socket applications. This module covers common errors and how to handle them properly.

閱讀文章 →
sockets EN 更新於 2026-02-03

UDP Server Implementation

UDP (User Datagram Protocol) is connectionless and provides fast, low-overhead communication. This module covers building UDP servers.

閱讀文章 →
sockets EN 更新於 2026-02-03

UDP Client Implementation

UDP clients are simpler than TCP clients since no connection is required. This module covers building UDP clients.

閱讀文章 →
sockets EN 更新於 2026-02-03

UDP vs TCP Comparison

Understanding when to use UDP vs TCP is crucial for effective socket programming. This module provides a detailed comparison.

閱讀文章 →
sockets EN 更新於 2026-02-03

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.

閱讀文章 →
sockets EN 更新於 2026-02-03

Address Structures

Socket addresses are represented differently in different languages and APIs. This module explains address structures and how to work with them.

閱讀文章 →
sockets EN 更新於 2026-02-03

Exercise 1: Echo Server

Build a TCP echo server that receives messages from clients and sends them back.

閱讀文章 →
sockets EN 更新於 2026-02-03

Exercise 2: Chat Application

Build a multi-user chat server where clients can send messages that are broadcast to all connected clients.

閱讀文章 →
sockets EN 更新於 2026-02-03

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.

閱讀文章 →
sockets EN 更新於 2026-02-03

Exercise 4: Simple HTTP Server

Build a minimal HTTP/1.0 server that can serve static files and handle basic HTTP requests.

閱讀文章 →
sockets EN 更新於 2026-02-03

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.

閱讀文章 →
sockets EN 更新於 2026-02-03

Socket Security Fundamentals

Security is critical in network programming. This module covers fundamental security concepts and practices for socket applications.

閱讀文章 →
sockets EN 更新於 2026-02-05

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

閱讀文章 →
sockets EN 更新於 2026-02-03

Socket Programming Quick Reference

A quick reference guide for common socket programming tasks and patterns.

閱讀文章 →
sockets EN 更新於 2026-02-05

Socket Programming - Comprehensive Teaching Materials

A complete educational resource for learning socket programming from fundamentals to advanced topics.

閱讀文章 →
sockets EN 更新於 2026-02-05

C Socket Examples

Minimal TCP, UDP, and HTTPS client examples matching the Python versions in ../python/.

閱讀文章 →
spring boot EN 更新於 2026-02-03

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 EN 更新於 2026-02-03

Spring Boot Code Examples

Working code for the Spring Boot Teaching Materials.

閱讀文章 →
spring boot EN 更新於 2026-02-03

Spring Boot Advanced Code

Corresponds to Modules 9–12 (Testing, Actuator, Production Deployment, Microservices patterns).

閱讀文章 →
spring boot EN 更新於 2026-02-03

Spring Boot Beginner Code

Corresponds to Modules 1–4 (What is Spring Boot, Setup, First Application, Core Concepts).

閱讀文章 →
spring boot EN 更新於 2026-02-03

Spring Boot Intermediate Code

Corresponds to Modules 5–8 (REST APIs, Spring Data JPA, Spring Security, Configuration).

閱讀文章 →