Skip to content

winsock: clarify the usage of BSD socket errors - #1994

Merged
Steven White (stevewhims) merged 1 commit into
MicrosoftDocs:docsfrom
jay:clarify_winsock_bsd
Mar 7, 2025
Merged

Steven White (stevewhims) merged 1 commit into
MicrosoftDocs:docsfrom
jay:clarify_winsock_bsd

Conversation

@jay

Copy link
Copy Markdown
Contributor
  • Clarify that the two style examples would also need the redefinition of BSD socket error constants to WSA error constants in order to work correctly.

The documentation says BSD socket error constants can be redefined to be the same as WSA error constants for compatibility, but it was not clear to me that it applies to the two examples "BSD Style" and "Preferred Style".

Also, the documentation says the redefinition is highly discouraged so I would consider renaming so-called "Preferred" style to something else.

Closes #xxxx

- Clarify that the two style examples would also need the redefinition
  of BSD socket error constants to WSA error constants in order to work
  correctly.

The documentation says BSD socket error constants can be redefined to be
the same as WSA error constants for compatibility, but it was not clear
to me that it applies to the two examples "BSD Style" and
"Preferred Style".

Also, the documentation says the redefinition is highly discouraged so
I would consider renaming so-called "Preferred" style to something else.

Closes #xxxx
@prmerger-automator

Copy link
Copy Markdown
Contributor

Jay Satiro (@jay) : Thanks for your contribution! The author(s) and reviewer(s) have been notified to review your proposed change.

@stevewhims
Steven White (stevewhims) merged commit ea8557f into MicrosoftDocs:docs Mar 7, 2025
@jay
Jay Satiro (jay) deleted the clarify_winsock_bsd branch March 7, 2025 19:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants