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

Method OnLayerRead

Plugins/FreeRDP/Client/ConnectLayerQTcpSocket.cpp:139–147  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

137}
138
139int CConnectLayerQTcpSocket::OnLayerRead(void *data, int bytes)
140{
141 //*
142 if(m_hSocket)
143 WSAResetEvent(m_hSocket);//*/
144 int nRet = m_TcpSocket.read((char*)data, bytes);
145 qDebug(log) << Q_FUNC_INFO << nRet << bytes;
146 return nRet;
147}
148
149int CConnectLayerQTcpSocket::OnLayerWrite(const void *data, int bytes)
150{

Callers

nothing calls this directly

Calls 1

readMethod · 0.80

Tested by

no test coverage detected