X-Git-Url: https://git.llucax.com/z.facultad/75.42/plaqui.git/blobdiff_plain/65bf2eef7ac487329a3af3cd1c06e7957afc3a6c..28ee9c9b2dc9a54116494f999c6fb80e949a7fb7:/Server/src/connection.cpp diff --git a/Server/src/connection.cpp b/Server/src/connection.cpp index 086548a..44d74df 100644 --- a/Server/src/connection.cpp +++ b/Server/src/connection.cpp @@ -25,14 +25,23 @@ // $Id$ // -#include "connection.h" +#include "plaqui/server/connection.h" #include using namespace Plaqui; +Connection::Connection(const sockbuf::sockdesc& sd): + socket(sd) { +#ifdef DEBUG + std::cerr << __FILE__ << ": sd = " << sd.sock << std::endl; +#endif // DEBUG +} + +/* Connection::Connection(const sockinetbuf& sb): socket(sb) { } +*/ Connection::Connection(sockbuf::type type): socket(type) {