@pmsjt: Thank you, I never really looked into those shiny new APIs because, well, I need to target XP, and in a foreseeable future, so the first thing I do with a new C++ project is setting _WIN32_WINNT to 0x0501.
But actually, async timeout notification is useless in XP anyway since there is no CancelIoEx, and CancelIo can only be called in the same thread that started it. So I kinda understand why MS teams all left XP support behind, because XP stinks. but I'm not Microsoft so I still have to.
Now I still want to ask, if I use those new Vista APIs, can I start a socket (TCP/UDP) overlapped io and let the threadpool notify me if its not yet completed after a timeout ?? I mean, I know maybe I CAN do that, but maybe I need both ...Wait APIs and ...Io APIs, and set 2 callbacks, but IMHO thats too much for such a common task, can I get the notification with just ...Io APIs ?