Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bwapi/bwapi
/ release
Method
release
bwapi/SNP_DirectIP/SNP/UDPSocket.cpp:41–49 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
39
}
40
41
void UDPSocket::release() throw()
42
{
43
if(_s)
44
{
45
::closesocket(_s);
46
_s = NULL;
47
_bound = 0;
48
}
49
}
50
51
void UDPSocket::bind(int port)
52
{
Callers
3
rebind
Function · 0.45
destroy
Method · 0.45
destroy
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected