Commit ce164bec authored by jan.koester's avatar jan.koester
Browse files

fixed unixsocket

parent 3f01cf6d
Loading
Loading
Loading
Loading
+0 −2
Changes for src/eventapi.h: 0 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -25,8 +25,6 @@
 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 *******************************************************************************/

#include <mutex>

#include "socket.h"
#include "connection.h"

+1 −1
Changes for src/linux/socket.cpp: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -141,7 +141,7 @@ netplus::tcp::tcp(const char* uxsocket,int maxconnections,int sockopts) : socket
        exception[NetException::Critical] << "Can't create TCP UnixSocket";
        throw exception;
    }
    
    _SocketPtrSize=sizeof(sockaddr_un);
    setsockopt(_Socket,SOL_SOCKET,sockopts,&optval, sizeof(optval));
    addlock_tcp(_Socket);
}