MCPcopy Create free account
hub / github.com/OpenKinect/libfreenect2 / ~Socket

Method ~Socket

tools/streamer_recorder/PracticalSocket.cpp:107–114  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

105}
106
107Socket::~Socket() {
108 #ifdef WIN32
109 ::closesocket(sockDesc);
110 #else
111 ::close(sockDesc);
112 #endif
113 sockDesc = -1;
114}
115
116string Socket::getLocalAddress() throw(SocketException) {
117 sockaddr_in addr;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected