Skip to content

tool_doswin: avoid Windowsisms in socket code (cont.)#20457

Closed
vszakats wants to merge 1 commit intocurl:masterfrom
vszakats:windowsism2
Closed

tool_doswin: avoid Windowsisms in socket code (cont.)#20457
vszakats wants to merge 1 commit intocurl:masterfrom
vszakats:windowsism2

Conversation

@vszakats
Copy link
Member

@vszakats vszakats commented Jan 27, 2026

For general readability. Also to match the rest of the source code.

  • bump send() result type from int to ssize_t.
  • fix an int to be curl_socklen_t.
  • .S_un.S_addr.s_addr.
  • SD_RECEIVESHUT_RD.
  • SD_SENDSHUT_WR.

Follow-up to a81ab3e #20452
Follow-up to 9a26633 #17572

@vszakats vszakats added cmdline tool Windows Windows-specific labels Jan 27, 2026
@vszakats vszakats closed this in a4e2232 Jan 28, 2026
@vszakats vszakats deleted the windowsism2 branch January 28, 2026 02:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cmdline tool Windows Windows-specific

Development

Successfully merging this pull request may close these issues.

1 participant