Windows Sockets Error – WSAENOPROTOOPT 10042

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

Windows Socket Error Code

WSAENOPROTOOPT
10042

Windows Socket Error Description

Bad protocol option.
An unknown, invalid or unsupported option or level was specified in a getsockopt or setsockopt call.