]> git.llucax.com Git - z.facultad/75.42/plaqui.git/blobdiff - Server/src/connection.cpp
Se agrega un doxyfile para generar docs del server.
[z.facultad/75.42/plaqui.git] / Server / src / connection.cpp
index 086548a289a2114005ec213c7d77caff9d2823f9..44d74dfaf5a2d9c508a9c9d069fdcfdd2adf7c0e 100644 (file)
 // $Id$
 //
 
-#include "connection.h"
+#include "plaqui/server/connection.h"
 #include <socket++/sockinet.h>
 
 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) {