http://bugs.winehq.org/show_bug.cgi?id=30815
Olli Salli ollisal@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |ollisal@gmail.com
--- Comment #20 from Olli Salli ollisal@gmail.com 2012-09-22 04:19:11 CDT --- Polar WebSync 2.6 HRM software also seems to need this, otherwise the background daemon doesn't start properly. Please commit to mainline :)
With my (superficial) WinSock knowledge, the patch seems OK. If you need a datagram (UDP) socket, you're going to request it separately. The only situation where this could behave differently in real Windows is if you have the entire TCP/IP stack disabled and it gives you a netbeui/ipx/etc legacy socket. And I don't think you can even do that in any Windows version past 2000. Bruno's suggestion from comment 4 could fix this too, but I'd say it's just unnecessary overhead.
(Partial) log without this patch from the Polar software:
fixme:winsock:convert_socktype_w2u unhandled Windows socket type 0 fixme:advapi:ReportEventW (0xcafe4242,0x0001,0x0000,0x00000002,(nil),0x0002,0x00000000,0x97d160,(nil)): stub err:eventlog:ReportEventW L"\n\n" err:eventlog:ReportEventW L"Caught class Polar::Net::Exception...\n...Caused by class Polar::System::Exception. 10041: ...\n...Server shutting down."
10041 is WSAEPROTOTYPE, so clearly this is the issue.