Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/crownengine/crown
/ close
Method
close
src/core/network/socket.cpp:248–254 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
246
}
247
248
void TCPSocket::close()
249
{
250
if (is_open()) {
251
::closesocket(_priv->socket);
252
_priv->socket = INVALID_SOCKET;
253
}
254
}
255
256
ConnectResult TCPSocket::connect(const IPAddress &ip, u16 port)
257
{
Callers
15
test_file_monitor
Function · 0.45
read_temporary
Method · 0.45
write_temporary
Method · 0.45
read
Method · 0.45
read_optional
Method · 0.45
compile
Function · 0.45
close_stream
Method · 0.45
run
Method · 0.45
compile
Function · 0.45
read_data_versions
Function · 0.45
read_data_index
Function · 0.45
read_data_mtimes
Function · 0.45
Calls
1
is_open
Function · 0.85
Tested by
1
test_file_monitor
Function · 0.36