VS 2015 AsyncSocket Create Throws exception

All replies

  • Do you think you may have an initialization race condition due to multiple threads trying to create sockets with MFC?

    Please read this thread about the lack of thread-safety in creating sockets with MFC.

    Thursday, February 23, 2017 9:49 PM
  • Hi friend,

    Please share us which type project you created and share us the code you used. Thank you very much.



    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact

    Friday, February 24, 2017 2:57 AM