322 |
continue; //Ignore CR |
continue; //Ignore CR |
323 |
if (c == '\n') { |
if (c == '\n') { |
324 |
LSCPServer::SendLSCPNotify(LSCPEvent(LSCPEvent::event_misc, "Received \'" + bufferedCommands[socket] + "\' on socket", socket)); |
LSCPServer::SendLSCPNotify(LSCPEvent(LSCPEvent::event_misc, "Received \'" + bufferedCommands[socket] + "\' on socket", socket)); |
325 |
bufferedCommands[socket] += "\n"; |
bufferedCommands[socket] += "\r\n"; |
326 |
return true; //Complete command was read |
return true; //Complete command was read |
327 |
} |
} |
328 |
bufferedCommands[socket] += c; |
bufferedCommands[socket] += c; |