How can I check if IOCP is enabled?

202 views Asked by At

I built libuv on windows and I'd like to make sure if IOCP is enabled and using properly.

How can I check it? Is there any function to check? I tried to look for any preprocessor in VC setting
but coundn't find it.

Thanks.

1

There are 1 answers

0
saghul On BEST ANSWER

On Windows IOCP is always used. There are a few edge cases where we cannot use it so we "emulate" it. One such case is when a TCP handle is sent to another process. There is no way to check that from userland code.