Error Code Portal
MicrosoftWindows Win32Error code

10042

WSAENOPROTOOPT

Alternative forms: 0x0000273A · 0x273A · WSAENOPROTOOPT · 0x8007273A

Code 10042 · An issue reported by Windows Win32.

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

Troubleshooting and diagnostic links

First check that the document's product, version, and environment match your situation.