MCPcopy Create free account
hub / github.com/caozhiyi/CppNet / CSocketBase

Method CSocketBase

net/linux/SocketBase.cpp:14–17  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12using namespace cppnet;
13
14CSocketBase::CSocketBase() : _add_event_actions(false), _event_actions(nullptr),
15 _pool(new base::CMemoryPool(__mem_block_size, __mem_block_add_step)) {
16 memset(_ip, 0, __addr_str_len);
17}
18
19CSocketBase::CSocketBase(std::shared_ptr<CEventActions>& event_actions) : _add_event_actions(false), _event_actions(event_actions),
20 _pool(new base::CMemoryPool(__mem_block_size, __mem_block_add_step)) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected