MCPcopy Create free account
hub / github.com/MonaSolutions/MonaServer / SocketFile

Method SocketFile

MonaBase/include/Mona/Socket.h:37–37  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

35 friend class Socket;
36public:
37 SocketFile(const SocketFile& other) : Object(), NullableObject(), _sockfd(other._sockfd) {}
38 virtual ~SocketFile() {
39 if (_sockfd != NET_INVALID_SOCKET)
40 NET_CLOSESOCKET(_sockfd);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected