Article ID: 138965 - Last Review: March 8, 1999 - Revision: 1.0

DOCERR: Setting of SO_DEBUG Option Is Ignored by Winsock Apps

System TipThis article applies to a different operating system than the one you are using. Article content that may not be relevant to you is disabled.
This article was previously published under Q138965
Expand all | Collapse all

SUMMARY

The Windows Sockets specification (Winsock) version 1.1 provides for an application to set the SO_DEBUG option by calling the setsockopt() API.

Although a call to set this option succeeds (doesn't return SOCKET_ERROR), the setting is ignored by all Microsoft Windows Sockets implementations. This includes the Winsock implementations for:
  • Windows for Workgroups 3.11 (MS TCP/IP-32)
  • Windows NT 3.1, 3.5, 3.51
  • Windows 95
  • LAN Manager 2.2c

APPLIES TO
  • Microsoft Windows Software Development Kit 3.1
  • Microsoft Windows Software Development Kit 3.11
  • Microsoft Win32 Software Development Kit (SDK) 3.1
  • Microsoft Win32 Software Development Kit (SDK) 3.5
  • Microsoft Win32 Software Development Kit (SDK) 3.51
  • Microsoft Win32 Software Development Kit (SDK) 4.0
Keywords: 
kbwinsock kbapi kbnetwork kbdocerr KB138965