Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ElementsProject/elements
/ Release
Method
Release
src/util/sock.cpp:53–58 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
51
SOCKET Sock::Get() const { return m_socket; }
52
53
SOCKET Sock::Release()
54
{
55
const SOCKET s = m_socket;
56
m_socket = INVALID_SOCKET;
57
return s;
58
}
59
60
void Sock::Reset() { CloseSocket(m_socket); }
61
Callers
3
BOOST_AUTO_TEST_CASE
Function · 0.45
FUZZ_TARGET_INIT
Function · 0.45
SetStartOnSystemStartup
Function · 0.45
Calls
no outgoing calls
Tested by
2
BOOST_AUTO_TEST_CASE
Function · 0.36
FUZZ_TARGET_INIT
Function · 0.36