Windows Sockets Error – WSANOTINITIALISED 10093

In this post, you’ll learn more about the Windows Socket Error WSANOTINITIALISED
10093 returned by the WSAGetLastError function in Windows as well a quick description about the error

Windows Socket Error Code

WSANOTINITIALISED
10093

Windows Socket Error Description

Successful WSAStartup not yet performed.
Either the application has not called WSAStartup or WSAStartup failed. The application may be accessing a socket that the current active task does not own (that is, trying to share a socket between tasks), or WSACleanup has been called too many times.