Each socket has a single memory pool object. All memory requested from the memory pool is managed by an intelligent pointer
Using time wheel to realize timer
Clear:
Three layers: event-driven layer, session management layer and interface layer
Upward notification through callbacks between layers. Clear division of responsibilities among modules, pay to Caesar what belongs to Caesar and God what belongs to God
The interface decoupling module is used to meet the minimum interface principle and dependency inversion principle
Quick Start
Quick use of cppnet and precautions, see quick start.
Interface
cppnet has three types of external interfaces, which are also defined in three header files
Initialization and global configuration, defined in cppnet
请发表评论