D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Issue 23507 - Socket.blocking property incorrect on new Socket on Windows
Summary: Socket.blocking property incorrect on new Socket on Windows
Status: RESOLVED FIXED
Alias: None
Product: D
Classification: Unclassified
Component: phobos (show other issues)
Version: D2
Hardware: All Windows
: P1 normal
Assignee: No Owner
URL:
Keywords: pull
Depends on:
Blocks:
 
Reported: 2022-11-25 01:14 UTC by Adam D. Ruppe
Modified: 2022-11-25 03:07 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Adam D. Ruppe 2022-11-25 01:14:08 UTC
The blocking flag returns false on a new socket despite the documentation and behavior being blocking by default. Windows only.
Comment 1 Dlang Bot 2022-11-25 02:18:01 UTC
@adamdruppe updated dlang/phobos pull request #8630 "fixes #23507 sockets are blocking by default, this needs to reflect that" fixing this issue:

- fix #23507 sockets are blocking by default, this needs to reflect that

https://github.com/dlang/phobos/pull/8630
Comment 2 Dlang Bot 2022-11-25 03:07:34 UTC
dlang/phobos pull request #8630 "fixes #23507 sockets are blocking by default, this needs to reflect that" was merged into master:

- 6fa48e418e8bf134dd4cf07bbf3900eb57305788 by Adam D. Ruppe:
  fix #23507 sockets are blocking by default, this needs to reflect that

https://github.com/dlang/phobos/pull/8630