ror.h
WSAETIMEDOUT has the right value:
#define WSAETIMEDOUT (WSABASEERR+60) - WinSock2.h
#define WSAETIMEDOUT (WSABASEERR+60) - winsock.h
#define WSAETIMEDOUT 10060L - winerror.h
So it seems like socket.c is getting its value from winsock.h. Here's
a better patch:
Signed-off-by: Leonar
ed: Connection timed out (WSAETIMEDOUT)
I understand that's not the most elegant solution, but given the above
said, I don't see an alternative. There are many forum threads out
there just because of this misleading error message.
Signed-off-by: Leonardo Basilio
---
src/openvpn/socket