MCPcopy Create free account
hub / github.com/Barracuda09/SATPI / SocketAttr

Method SocketAttr

src/socket/SocketAttr.cpp:35–39  ·  view source on GitHub ↗

=================================================================== -- Constructors and destructor ----------------------------------- ===================================================================

Source from the content-addressed store, hash-verified

33 // -- Constructors and destructor -----------------------------------
34 // ===================================================================
35 SocketAttr::SocketAttr() :
36 _fd(-1),
37 _ipAddr("0.0.0.0") {
38 std::memset(&_addr, 0, sizeof(_addr));
39 }
40
41 SocketAttr::~SocketAttr() {
42 closeFD();

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected