MCPcopy 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
248void TCPSocket::close()
249{
250 if (is_open()) {
251 ::closesocket(_priv->socket);
252 _priv->socket = INVALID_SOCKET;
253 }
254}
255
256ConnectResult TCPSocket::connect(const IPAddress &ip, u16 port)
257{

Callers 15

test_file_monitorFunction · 0.45
read_temporaryMethod · 0.45
write_temporaryMethod · 0.45
readMethod · 0.45
read_optionalMethod · 0.45
compileFunction · 0.45
close_streamMethod · 0.45
runMethod · 0.45
compileFunction · 0.45
read_data_versionsFunction · 0.45
read_data_indexFunction · 0.45
read_data_mtimesFunction · 0.45

Calls 1

is_openFunction · 0.85

Tested by 1

test_file_monitorFunction · 0.36