4
int setsockopt(
  SOCKET s,
  int level,
  int optname,
  const char* optval,
  int optlen
);

SO_DEBUG

Windows Sockets service providers are encouraged (but not required) to supply output debug information if the SO_DEBUG option is set by an application. The mechanism for generating the debug information and the form it takes are beyond the scope of this document.

I did not find any scope.

1
  • This so-called provider-dependent debug information seems very esoteric anyway. Why not use sniffers?
    – valdo
    Oct 12, 2012 at 16:47

1 Answer 1

2

It doesn't work on win32.

Enables debug output. Microsoft providers currently do not output any debug information.

I believe it was pulled with a lot of other stuff to maintain some compatibility with the BSD socket APIs.

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.