CSocket and DoCallBack
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: CSocket and DoCallBack

  1. #1
    Join Date
    Jan 2004

    CSocket and DoCallBack


    When does the DoCallback() of CSocket get called? I have a class derived from CSocket and I have a breakpoint in DoCallBack() and it doesn't break there at all. That might explain why my OnClose() is not getting called.


  2. #2
    Join Date
    Jan 2002
    Scaro, UK
    You shouldn't be using CSocket as its full of bugs and not reliable at all.

    Use CAsyncSocket (if you must), otherwise use raw winsock calls.

    Actually, if anyones reading, I'm surprised about the interest in WinSock all of a sudden. Maybe people are realising that DCOM isn't what it pertains to be and are using alternatives.

    Then again, this may all be linked to the net.

    www.pinvoker.com - PInvoker - the .NET PInvoke Interface Exporter for C++ Dlls.

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

On-Demand Webinars (sponsored)