DOCERR: Setting of SO_DEBUG Option Is Ignored by Winsock Apps (138965)



The information in this article applies to:

  • Microsoft Windows Software Development Kit (SDK) 3.1
  • Microsoft Windows Software Development Kit (SDK) 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

This article was previously published under Q138965

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

Modification Type:MajorLast Reviewed:3/8/1999
Keywords:kbAPI kbdocerr kbnetwork kbWinsock KB138965