* compiled with /MD is not tested. */
#include <openssl/applink.c>
#define SHUT_RDWR SD_BOTH
-#else
-#define closesocket close
#endif
VLOG_DEFINE_THIS_MODULE(stream_ssl);
ds_destroy(&details);
}
-/* In Windows platform, errno is not set for socket calls.
- * The last error has to be gotten from WSAGetLastError(). */
-static int
-sock_errno(void)
-{
-#ifdef _WIN32
- return WSAGetLastError();
-#else
- return errno;
-#endif
-}
-
static void
clear_handle(int fd OVS_UNUSED, HANDLE wevent OVS_UNUSED)
{