CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Jan 2005
    Posts
    73

    Question overlapped winsock

    my procedure has been trapped in a WSA_IO_INCOMPLETE vortex.according to msdn
    /********************************************
    WSA_IO_INCOMPLETE
    (OS dependent)
    Overlapped I/O event object not in signaled state.
    The application has tried to determine the status of an overlapped operation which is not yet completed. Applications that use WSAGetOverlappedResult (with the fWait flag set to false) in a polling mode to determine when an overlapped operation has completed will get this error code until the operation is complete.
    /*********************************************

    when API WSAGetOverlappedResult () returns WSA_IO_INCOMPLETE i'd let my procedure continue to wait until tht overlapped IO be completed coz
    msdn literally implys WSA_IO_INCOMPLETE ='you'd wait ' but once this thing received by my procedure. this 'not yet completed IO ' will never be completed.WsaGetLastError() returns WSA_IO_INCOMPLETE constantly/endlessly OOPS

    why WSA_IO_INCOMPLETE occurs & this overlapped IO wouldn't be completed. show me a way out plz thank you!

  2. #2

    Re: overlapped winsock

    IOCP is a really good socket i/o architecture. At the same time, it can be hard to debug the errors. When does this error occur?

    valikac

Posting Permissions

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





Click Here to Expand Forum to Full Width

Featured