Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/SmingHub/Sming
/ setKeepAlive
Method
setKeepAlive
Sming/Components/Network/src/Network/TcpServer.cpp:28–32 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
26
}
27
28
void TcpServer::setKeepAlive(uint16_t seconds)
29
{
30
debug_d(
"Server keep-alive updating: %u -> %u"
, keepAlive, seconds);
31
keepAlive = seconds;
32
}
33
34
bool TcpServer::listen(int port, bool useSsl)
35
{
Callers
2
execute
Method · 0.45
execute
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected