http://bugs.winehq.org/show_bug.cgi?id=32205
--- Comment #5 from Qian Hong fracting@gmail.com --- Created attachment 48191 --> http://bugs.winehq.org/attachment.cgi?id=48191 Log: +tid,+winsock log with Erich's patch
I've attached a +tid,+winsock log with Erich's patch, but I guess even if it is a winsock bug it is not related to what Erich tries to fix.
The below part of log seems interesting: 0026:trace:winsock:WSASocketW created 017c 0026:trace:winsock:WS2_AcceptEx (178, 17c, 0xcb525c, 0, 144, 144, 0x33f730, 0xcb5220) 0026:trace:winsock:WSAStringToAddressA ("0.0.0.0", 2, (nil), 0x33f644, 0x33f6cc) 0026:trace:winsock:WSASocketW af=2 type=2 protocol=17 protocol_info=(nil) group=0 flags=0x1 0026:trace:winsock:WSASocketW created 0180 0026:trace:winsock:WS_setsockopt socket: 0180, level 0xffff, name 0x4, ptr 0x33f8e8, len 4 0026:trace:winsock:WS_bind socket 0180, ptr 0x33f914 { family AF_INET, address 0.0.0.0, port 4466 }, length 16 0026:trace:winsock:WS_setsockopt socket: 0180, level 0xffff, name 0x1002, ptr 0x33f90c, len 4 0026:trace:winsock:WS_setsockopt socket: 0180, level 0xffff, name 0x1001, ptr 0x33f910, len 4 0026:trace:winsock:WSAStringToAddressA ("224.0.0.100", 17, (nil), 0x33f78c, 0x33f814) 0026:trace:winsock:WSAStringToAddressA ("224.0.0.100", 2, (nil), 0x33f7a0, 0x33f828) 0026:trace:winsock:WS_setsockopt socket: 0180, level 0xffff, name 0x20, ptr 0x33f974, len 4 0026:trace:winsock:WS_setsockopt socket: 0180, level 0x0, name 0xc, ptr 0x33f958, len 8 0026:trace:winsock:WS_setsockopt socket: 0180, level 0x0, name 0xa, ptr 0x33f950, len 1 0026:trace:winsock:WS_setsockopt socket: 0180, level 0x0, name 0xb, ptr 0x33f948, len 4 0026:trace:winsock:WSAStringToAddressA ("0.0.0.0", 2, (nil), 0x33f674, 0x33f6fc) 0026:trace:winsock:WSASocketW af=2 type=1 protocol=6 protocol_info=(nil) group=0 flags=0x1 0026:trace:winsock:WSASocketW created 0184 0026:trace:winsock:WS_setsockopt socket: 0184, level 0xffff, name 0x4, ptr 0x33f8fc, len 4 0026:trace:winsock:WS_setsockopt socket: 0184, level 0xffff, name 0x8, ptr 0x33f8f8, len 4 0026:trace:winsock:WS_bind socket 0184, ptr 0x33f914 { family AF_INET, address 0.0.0.0, port 4466 }, length 16 0026:trace:winsock:WS_listen socket 0184, backlog 2147483647 0026:trace:iphlpapi:GetAdaptersInfo pAdapterInfo 0x33c6d8, pOutBufLen 0x33c6c8 0026:trace:iphlpapi:AllocateAndGetIpForwardTableFromStack table 0x33c54c, bOrder 0, heap 0x110000, flags 0x00000000 0026:trace:iphlpapi:AllocateAndGetIpForwardTableFromStack returning ret 0 table 0x178e18 0026:trace:iphlpapi:GetAdaptersInfo returning 0 0026:trace:winsock:WSAStringToAddressA ("", 2, (nil), 0x33c528, 0x33c5b0) sm exited,Error: Unknown error^M 0026:trace:winsock:WS_closesocket socket 0180 0026:trace:winsock:WS_closesocket socket 0184 0026:trace:winsock:WS_closesocket socket 0174 0026:trace:winsock:WS_closesocket socket 0178