Can CAsyncSocket be used in a worker thread?
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3

Thread: Can CAsyncSocket be used in a worker thread?

  1. #1
    Join Date
    Feb 2004
    Posts
    82

    Can CAsyncSocket be used in a worker thread?

    someone told me that the CSocket couldn't be used in a worker thread, because it needs a window. I am not sure about that. And I wonder can CAsyncSocket be used in a worker thread?

    Thanks.

  2. #2
    Join Date
    Apr 2000
    Location
    Belgium (Europe)
    Posts
    4,100
    CSocket and CAsyncSocket can be used in a worker thread. There are features when you DO use them in a GUI thread, but this is not a necessity.

  3. #3
    Join Date
    May 2000
    Location
    KY, USA
    Posts
    18,652
    [Moved thread]
    Ciao, Andreas

    "Software is like sex, it's better when it's free." - Linus Torvalds


    Article(s): Allocators (STL) Function Objects (STL)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center