Uploaded image for project: 'Core ReactOS'
  1. Core ReactOS
  2. CORE-12152

WSA connect doesn't work correctly in nonblocking mode

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • None
    • Networking
    • December 2016

    Description

      Connecting socket in nonblocking mode into localhost continued by WSAEnumNetworkEvents doesn't work correctly.

      Windows connect() function always return value SOCKET_ERROR, and WSAGetLastError return WSAEWOULDBLOCK, to continue with WSAEnumNetworkEvents configured by WSAAsyncSelect/WSAEventSelect, ReactOS WSA does not.

      Simple client/server application is attached to test connecting.

      Tested with ReactOS 20161013-r72963 in VirtualBox 5.0.20

      (ReactOS seems sometimes (but not always) hang, when trying attached sample)

      Attachments

        1. WSAAsyncTest.c
          9 kB
        2. WSAAsync.c
          6 kB
        3. WSAAsync_2.patch
          6 kB
        4. steam_offline.txt
          897 kB
        5. r73321-playedABitWithCORE-12152patchFromState2016-11-19.log
          1.19 MB
        6. mm_crash.txt
          254 kB
        7. k-meleon_crash_heap_debug.txt
          1.41 MB
        8. K-Meleon_afd_crash_2.log
          55 kB
        9. heap_crash.txt
          62 kB
        10. CORE-12152-1+2.patch
          51 kB
        11. CORE-12152-1+2_updated-heap_debug.patch
          68 kB
        12. CORE-12152-1+2_updated.patch
          53 kB
        13. CORE-12152.patch
          50 kB
        14. CORE-12152.patch
          53 kB
        15. CORE-12152_async_patch_refreshed_2022-10-04_by_TheDarkFire.patch
          53 kB
        16. CORE-12152_2.patch
          0.7 kB
        17. afd_crash.txt
          188 kB

        Issue Links

          Activity

            People

              hater hater
              m.mastny Miroslav Mastný
              Votes:
              17 Vote for this issue
              Watchers:
              20 Start watching this issue

              Dates

                Created:
                Updated: