60 const std::string & rest);
int receiveCommands(SoDa::UD::ClientSocket *sock, std::ofstream &log)
Drain all pending inbound commands from the server socket, print and log each one.
bool sendCommand(SoDa::UD::ClientSocket *sock, SoDa::CommandPtr cmd, std::ofstream &log)
Transmit a command via the command socket and log it.
SoDa::CommandPtr parseCommand(const std::string &verb, const std::string &rest)
Parse an upper-cased verb ("SET","GET","REP") and the rest of the input line into a SoDa::Command.
std::shared_ptr< Command > CommandPtr