'How to async socket in c++ (vs2010)?

I would like to ask about c++ asynchronous tcp/ip.

I'm making a DLL, and this DLL needs tcp/ip asynchronous communication. I didn't know how to do it, so I looked into winsock 2.h, and it was mainly used by MFC. However, since I'm a DLL, I can't use functions such as WSAAsyncSelect like MFC. I'm not sure.

What should I do?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source