#include "plaqui/server/controlclient.h"
#include "plaqui/server/string.h"
-//#include <socket++/sockinet.h>
#include <iostream>
#include <sstream>
#include <exception>
// Obtengo host.
host = argv[1];
}
- unsigned port = 7522;
+ Connection::Port port = 7522;
if (argc > 2) {
// Obtengo puerto.
stringstream str(argv[2]);
break;
default:
Command cmd(v[0], v[1]);
- v.erase(v.begin(), v.begin() + 1);
+ v.erase(v.begin(), v.begin() + 2);
cmd.set_args(v);
client->send(cmd);
break;