Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenStarbound/OpenStarbound
/ stop
Method
stop
source/core/StarTcp.cpp:173–177 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
171
}
172
173
void TcpServer::stop() {
174
m_listenSocket->shutdown();
175
m_callbackThread.finish();
176
m_listenSocket->close();
177
}
178
179
bool TcpServer::isListening() const {
180
return m_listenSocket->isActive();
Callers
6
makePaneCallbacks
Method · 0.45
shutdown
Method · 0.45
changeState
Method · 0.45
updateRunning
Method · 0.45
TEST
Function · 0.45
TEST
Function · 0.45
Calls
3
shutdown
Method · 0.45
finish
Method · 0.45
close
Method · 0.45
Tested by
2
TEST
Function · 0.36
TEST
Function · 0.36