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@winehq.org Reporter: aman560900@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/3b33a6b4873d2d75418c298880766f63b...
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.