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

Method _MakeUpperSocket

net/CppNetImpl.cpp:438–443  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

436}
437
438std::shared_ptr<CNSocket> CCppNetImpl::_MakeUpperSocket(uint64_t sock) {
439 std::shared_ptr<CNSocket> cn_sock(new CNSocket());
440 cn_sock->_cppnet_instance = shared_from_this();
441 cn_sock->_socket_handle = sock;
442 return cn_sock;
443}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected