Microsoft KB Archive/138965

{|
 * width="100%"|

DOCERR: Setting of SO_DEBUG Option Is Ignored by Winsock Apps

 * }

Q138965

-

The information in this article applies to:


 * Microsoft Windows Software Development Kit (SDK) versions 3.1, 3.11
 * Microsoft Win32 Software Development Kit (SDK), versions 3.1, 3.5, 3.51, 4.0

-

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 : kbnetwork kbdocerr kbAPI kbOSWinNT310 kbOSWinNT350 kbOSWinNT351 kbSDKPlatform kbOSWin95 kbWinsock kbOSWin311 kbGrpDSNet

Issue type :

Technology : kbWin32SDKSearch kbAudDeveloper kbWin3xSearch kbSDKSearch kbWin32sSearch kbWin32SDK400 kbWin32SDK310 kbWin32SDK350 kbWin32SDK351 kbWinSDKSearch kbWinSDK310 kbWinSDK311