CreateIoCompletionPort returns NULL, and the error is repeated binding,
There, the SOCKET can't shut down, just the processing logic is wrong, is there a way to replace the CompletionKey
CodePudding user response:
Search "thread pool"?CodePudding user response:
In fact, I just want to change CompletionKey has bind to a SOCKETCodePudding user response:
Haven't heard of you want to change the CompletionKey, lz finish the key why want to change?CodePudding user response:
After the Accept, need to different Socket to different process, so the process is not the same, I defined the uniform interface, the different implementation classes now,If can change the CompletionKey, processing logic will be much easier,