Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Extra-Creativity/Modern-Cpp-Basics
/ Clean_
Method
Clean_
08-String & Stream/example/src/Socket.cpp:97–104 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
95
}
96
97
void Socket::Clean_()
98
{
99
#ifdef _WIN32
100
::closesocket(socket_);
101
#else
102
::close(socket_);
103
#endif
104
}
105
106
} // namespace Network
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected