MCPcopy Create free account
hub / github.com/KangLin/RabbitRemoteControl / disconnectFromHost

Method disconnectFromHost

Plugins/Telnet/QTelnet.cpp:85–91  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

83}
84
85void QTelnet::disconnectFromHost(void)
86{
87 if(m_socketType == TCP)
88 m_tcpSocket.disconnectFromHost();
89 else if(m_socketType == WEBSOCKET || m_socketType == SECUREWEBSOCKET)
90 m_webSocket.close();
91}
92
93void QTelnet::write(const char c)
94{

Callers 2

foreachFunction · 0.80
StopMethod · 0.80

Calls 1

closeMethod · 0.45

Tested by

no test coverage detected