#include "plaqui/server/controlclient.h"
#include "plaqui/server/string.h"
#include <iostream>
-#include <sstream>
#include <exception>
#include <vector>
// Obtengo host.
host = argv[1];
}
+ // Obtengo puerto.
Connection::Port port = 7522;
if (argc > 2) {
- // Obtengo puerto.
- stringstream str(argv[2]);
- str >> port;
+ to(argv[2], port);
}
// Inicializa threads.