X-Git-Url: https://git.llucax.com/z.facultad/75.42/plaqui.git/blobdiff_plain/6bffb655ac989fe4f115763270f84175bf24e4bb..f29a7129de56edca96ea8ef58576898c1e52ed6f:/Server/src/controlclient.cpp?ds=inline diff --git a/Server/src/controlclient.cpp b/Server/src/controlclient.cpp index ffce9c0..3a3221b 100644 --- a/Server/src/controlclient.cpp +++ b/Server/src/controlclient.cpp @@ -25,6 +25,7 @@ // $Id$ // +#include "plaqui/server/httpresponse.h" #include "plaqui/server/controlclient.h" #ifdef DEBUG # include @@ -45,13 +46,13 @@ ControlClient::~ControlClient(void) { ControlClient::ControlClient(string host, int port): Connection(sockbuf::sock_stream) { #ifdef DEBUG - cerr << __FILE__ << ": host" << host + cerr << __FILE__ << ": host = " << host << " | port = " << port << endl; #endif // DEBUG socket->connect(host.c_str(), port); - if (!socket->is_open()) { - throw ios::failure("Can't connect!"); - } + //if (!socket->is_open()) { + // throw ios::failure("Can't connect!"); + //} } void ControlClient::real_run(void) {