Knowledge Base

DOCERR: Setting of SO_DEBUG Option Is Ignored by Winsock Apps

Article ID: 138965

Article Last Modified on 3/8/1999


APPLIES TO


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

Keywords: kbwinsock kbapi kbnetwork kbdocerr KB138965