MCPcopy Create free account
hub / github.com/Tencent/phxpaxos / SocketBase

Method SocketBase

src/utils/socket.cpp:182–182  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

180///////////////////////////////////////////////////////////SocketBase
181
182SocketBase::SocketBase() : _family(AF_INET), _handle(-1) {}
183
184SocketBase::SocketBase(int family, int handle) : _family(family), _handle(handle) {
185 if (handle == -1) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected