http://bugs.winehq.org/show_bug.cgi?id=4473
Summary: WSAStartup not needed before socket() call Product: Wine Version: 0.9.3. Platform: PC OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: wine-net AssignedTo: wine-bugs@winehq.org ReportedBy: winehq-ticket@raf256.com
On wine it seems that sd = socket (AF_INET, SOCK_STREAM, 0); works even without calling WSAStartup first - it just works returning valid file descriptor.
While on native windows using same code without calling WSAStartup first makes it fail returning -1 file descriptor.