[Bug 53058] New: Incorrect socket reconnect behavior for DGRAM sockets

WineHQ Bugzilla wine-bugs at winehq.org
Fri May 27 20:46:35 CDT 2022


https://bugs.winehq.org/show_bug.cgi?id=53058

            Bug ID: 53058
           Summary: Incorrect socket reconnect behavior for DGRAM sockets
           Product: Wine
           Version: 6.13
          Hardware: x86-64
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: winsock
          Assignee: wine-bugs at winehq.org
          Reporter: aman560900 at hotmail.com
      Distribution: ---

Expected behavior:
Reconnecting with a DGRAM socket (specifically UDP) should not fail

Observed behavior:
Reconnecting fails with WSAEISCONN

Breaking commit and change:
https://github.com/wine-mirror/wine/commit/3b33a6b4873d2d75418c298880766f63b82d4534#diff-8e05bf2881724829f8195e2d782892d887db58ebd4f42eb113ddca994e568a83R2167

Both Windows and Linux kernels implement this correctly, with wine being the
sole divergence. SockDoConnect in mswsock.dll shows the logic flow, SOCK_STREAM
should fail with WSAEISCONN, but SOCK_DGRAM should not.

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list