Loading src/event/iocp.cpp +3 −0 Original line number Diff line number Diff line Loading @@ -96,6 +96,9 @@ namespace netplus { return false; } setsockopt(pClientContext->CurCon->csock->fd(), SOL_SOCKET, SO_UPDATE_ACCEPT_CONTEXT, (char*)&g_serversocket, sizeof(g_serversocket)); return true; } Loading Loading
src/event/iocp.cpp +3 −0 Original line number Diff line number Diff line Loading @@ -96,6 +96,9 @@ namespace netplus { return false; } setsockopt(pClientContext->CurCon->csock->fd(), SOL_SOCKET, SO_UPDATE_ACCEPT_CONTEXT, (char*)&g_serversocket, sizeof(g_serversocket)); return true; } Loading