stephb9959
2023-09-25 16:02:51 -07:00
parent 657c96f8cd
commit 33e010bf78

View File

@@ -640,11 +640,13 @@ namespace OpenWifi {
poco_trace(Logger(), poco_trace(Logger(),
fmt::format("Sending {} key strokes to device.", ReceivedBytes)); fmt::format("Sending {} key strokes to device.", ReceivedBytes));
std::cout << "Received bytes: " << ReceivedBytes << std::endl; std::cout << "Received bytes: " << ReceivedBytes << std::endl;
DBGLINE
if (!RTTYS_server().KeyStrokes(Connection, FrameBuffer, ReceivedBytes)) { if (!RTTYS_server().KeyStrokes(Connection, FrameBuffer, ReceivedBytes)) {
DBGLINE DBGLINE
EndConnection(Connection,__func__,__LINE__); EndConnection(Connection,__func__,__LINE__);
return; return;
} }
DBGLINE
} }
} break; } break;
case Poco::Net::WebSocket::FRAME_OP_CLOSE: { case Poco::Net::WebSocket::FRAME_OP_CLOSE: {