Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/F-Stack/f-stack
/ CloseSocket
Method
CloseSocket
adapter/micro_thread/mt_connection.cpp:102–113 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
100
}
101
102
int UdpShortConn::CloseSocket()
103
{
104
if (_osfd < 0)
105
{
106
return 0;
107
}
108
109
close(_osfd);
110
_osfd = -1;
111
112
return 0;
113
}
114
115
int UdpShortConn::SendData()
116
{
Callers
nothing calls this directly
Calls
2
SetOsfd
Method · 0.80
close
Function · 0.70
Tested by
no test coverage detected