X-Git-Url: https://git.llucax.com/z.facultad/75.42/plaqui.git/blobdiff_plain/65bf2eef7ac487329a3af3cd1c06e7957afc3a6c..1eadf77f99288a079f330d14feb6e81dac906cd3:/Server/src/connection.cpp diff --git a/Server/src/connection.cpp b/Server/src/connection.cpp index 086548a..6d48727 100644 --- a/Server/src/connection.cpp +++ b/Server/src/connection.cpp @@ -30,9 +30,18 @@ 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) {