Comment 4 for bug 1905159

Revision history for this message
Freddie Akeroyd (freddie-akeroyd) wrote :

And preference on how to handle the following:

'gethostbyaddr': Use getnameinfo() or GetNameInfoW() instead or define _WINSOCK_DEPRECATED_NO_WARNINGS

Moving to getnameinfo restricts to Windows XP ot later

GetVersionEx (deprecated ) used to test for a function at xp or higher in osdMutex, if we only support XP or higher versions then the test could be removed

epicsSocketAccept should return SOCKET rather than int - on most systems SOCKET is a typedef to int, but not on Windows. There it is UINT_PTR so 64bit size on win64. However i believe only the lower 32 bits are currently used (like for HANDLE) so there may be more risk in breaking an existing API by fixing the data type