X-Git-Url: https://git.llucax.com/z.facultad/75.42/plaqui.git/blobdiff_plain/e54fbe1822f4c536eb1f26476e95a8bb53d9511f..a9cb053146d2f1dc73e536ed87597f458deebea3:/Server/src/connection.cpp?ds=inline 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) {