]> git.llucax.com Git - z.facultad/75.42/plaqui.git/blobdiff - Server/src/connection.cpp
- Muchas pequeñas correcciones.
[z.facultad/75.42/plaqui.git] / Server / src / connection.cpp
index 086548a289a2114005ec213c7d77caff9d2823f9..6d48727c4f924ecc3e691a1ac645c4476a2272df 100644 (file)
 
 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) {