Comprehensive Guide to Chat Server Business Logic
This document outlines the various business logic operations handled by a chat server, including essential functionalities like heartbeats, user registration, login, friend management, profile updates, group operations, and real-time messaging.
Data Packet Structure
All data packets are prefixed with a business id followed by a sequence number, ...
Posted on Sun, 14 Jun 2026 17:43:28 +0000 by monkeyj
WebSocket Protocol: Connection Lifecycle, Status Codes, and Disconnection Handling
Connection Establishment
The WebSocket handshake occurs over HTTP before upgrading to a persistent bidirectional connection.
Client Request
GET /realtime HTTP/1.1
Host: api.example.com
Upgrade: websocket
Connection: Upgrade
Sec-WebSocket-Key: YnwxNDV0eGtleXBhc3M=
Sec-WebSocket-Version: 13
Upgrade: websocket signals the intent to switch protoc ...
Posted on Sun, 31 May 2026 23:45:59 +0000 by jrottman
Configuring Cisco Discovery Protocol on Network Devices
1. Learning Objectives
This configuration exercise covers:
Understanding CDP protocol characteristics
CDP configuration and troubleshooting techniques
Viewing directly connected neighbor information via CDP
2. Network Topology
The laboratory topology for CDP configuration is illustrated below.
3. Configuration Steps
(1) Configure RouterA
Rout ...
Posted on Thu, 14 May 2026 07:18:37 +0000 by bweekly