MCPcopy 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
28void TcpServer::setKeepAlive(uint16_t seconds)
29{
30 debug_d("Server keep-alive updating: %u -> %u", keepAlive, seconds);
31 keepAlive = seconds;
32}
33
34bool TcpServer::listen(int port, bool useSsl)
35{

Callers 2

executeMethod · 0.45
executeMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected