1. 3.2 Multithreaded Server Implemented with BIOhistorical

    Traditional server-side programming with BIO and its blocking points.

  2. 3.6 Server Implemented with NIOhistorical

    NIO vs BIO and common questions about channel reads, selector.select, and SelectionKey.OP_WRITE.

  3. 3.10 Serialization Protocolhistorical

    What serialization is, a custom ByteBuffer-based serialization rule, and a complete custom Serializer example.

  4. Heartbeat Mechanismhistorical

    For servers, periodically clear idle channels; for clients, detect disconnected sessions and whether to reconnect.

  5. Packet Protocolhistorical

    What sticky packets and split packets are, why the phenomenon appears with TCP byte streams, and how application-layer framing solves it.