Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/crossuo/crossuo
/ tcp_close
Function
tcp_close
src/Sockets.cpp:193–199 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
191
}
192
193
void tcp_close(tcp_socket socket)
194
{
195
auto h = socket_fd(socket);
196
closesocket(h);
197
delete (int *)socket;
198
socket = nullptr;
199
}
200
201
#if USE_PING
202
icmp_handle icmp_open()
Callers
2
Disconnect
Method · 0.85
Connect
Method · 0.85
Calls
1
socket_fd
Function · 0.85
Tested by
no test coverage detected