Commit 955cfa35 authored by jan.koester's avatar jan.koester
Browse files

fixes

parent dd51fa04
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -149,7 +149,7 @@ void netplus::udp::listen(){
    }
}

int netplus::udp::fd(){
SOCKET netplus::udp::fd(){
    return _Socket;
}

+4 −4
Original line number Diff line number Diff line
@@ -62,7 +62,7 @@ namespace netplus {

            virtual void             getAddress(std::string &addr)=0;

            virtual int              fd()=0;
            virtual SOCKET           fd()=0;

            virtual socket&          operator=(SOCKET sock)=0;

@@ -91,7 +91,7 @@ namespace netplus {
            void          accept(socket *ssock);
            void          bind();
            void          listen();
            int           fd();
            SOCKET        fd();
            tcp&          operator=(SOCKET socket);

            int           getMaxconnections();
@@ -124,7 +124,7 @@ namespace netplus {
            void          accept(socket * ssock);
            void          bind();
            void          listen();
            int           fd();
            SOCKET        fd();
            udp&          operator=(int socket);

            int           getMaxconnections();
@@ -156,7 +156,7 @@ namespace netplus {
            void          accept(socket *ssock);
            void          bind();
            void          listen();
            int           fd();
            SOCKET        fd();
            ssl&          operator=(int socket);
            int           getMaxconnections();
            
+1 −1
Original line number Diff line number Diff line
@@ -43,7 +43,7 @@ netplus::ssl& netplus::ssl::operator=(int sock){
     return *this;
};

int netplus::ssl::fd(){
SOCKET netplus::ssl::fd(){
    return -1;
}

+1 −1
Original line number Diff line number Diff line
@@ -129,7 +129,7 @@ void netplus::tcp::listen(){
    }
}

int netplus::tcp::fd(){
SOCKET netplus::tcp::fd(){
    return _Socket;
}

+1 −1
Original line number Diff line number Diff line
@@ -121,7 +121,7 @@ void netplus::udp::listen(){
    }
}

int netplus::udp::fd(){
SOCKET netplus::udp::fd(){
    return _Socket;
}