]> git.llucax.com Git - z.facultad/75.42/plaqui.git/blobdiff - Server/src/serverconnection.cpp
ahi creo que sale andando
[z.facultad/75.42/plaqui.git] / Server / src / serverconnection.cpp
index 5e159c3a8d61da16bfe1a84bb9100d6c3d11f663..6cbe0f3d7a4a35b0d91799c078d48ab6ac7f1e70 100644 (file)
@@ -37,21 +37,19 @@ PlaQui::Server::ServerConnection::~ServerConnection(void) {
 #endif // DEBUG
 }
 
 #endif // DEBUG
 }
 
-/*
 PlaQui::Server::ServerConnection::ServerConnection(const sockbuf::sockdesc& sd):
 PlaQui::Server::ServerConnection::ServerConnection(const sockbuf::sockdesc& sd):
-               socket(sd) {
+               Connection(sd) {
 #ifdef DEBUG
        std::cerr << __FILE__ << ": sd = " << sd.sock << std::endl;
 #endif // DEBUG
 }
 
 PlaQui::Server::ServerConnection::ServerConnection(sockbuf::type type):
 #ifdef DEBUG
        std::cerr << __FILE__ << ": sd = " << sd.sock << std::endl;
 #endif // DEBUG
 }
 
 PlaQui::Server::ServerConnection::ServerConnection(sockbuf::type type):
-               socket(type) {
+               Connection(type) {
 #ifdef DEBUG
        std::cerr << __FILE__ << ": type = " << type << std::endl;
 #endif // DEBUG
 }
 #ifdef DEBUG
        std::cerr << __FILE__ << ": type = " << type << std::endl;
 #endif // DEBUG
 }
-*/
 
 PlaQui::Server::ServerConnection::SignalCommandReceived&
 PlaQui::Server::ServerConnection::signal_command_received(void) {
 
 PlaQui::Server::ServerConnection::SignalCommandReceived&
 PlaQui::Server::ServerConnection::signal_command_received(void) {