Skip to content

Commit

Permalink
Increase acceptable Win sockets version for UDP
Browse files Browse the repository at this point in the history
  • Loading branch information
tbeu committed Apr 27, 2015
1 parent 16cb9a2 commit 27795c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Modelica_DeviceDrivers/Resources/Include/MDDUDPSocket.h
Expand Up @@ -73,7 +73,7 @@ DllExport void * MDD_udpConstructor(int port, int bufferSize) {
DWORD id1;
MDDUDPSocket * udp;

rc = WSAStartup(MAKEWORD(2,0),&wsa);
rc = WSAStartup(MAKEWORD(2,2),&wsa);
if (rc != NO_ERROR) {
ModelicaFormatError("MDDUDPSocket.h: WSAStartup failed: %d\n", rc);
}
Expand Down

0 comments on commit 27795c0

Please sign in to comment.