← Back to index
|
Original Bugzilla link
Bug 22357 – TcpSocket doesn't accept connection on the latest version of dmd.
Status
NEW
Severity
enhancement
Priority
P4
Component
phobos
Product
D
Version
D2
Platform
Other
OS
Windows
Creation time
2021-10-04T17:53:07Z
Last change time
2024-12-01T16:39:28Z
Assigned to
No Owner
Creator
Andrei
Moved to GitHub: phobos#10479 →
Comments
Comment #0
by tempdas — 2021-10-04T17:53:07Z
It occurrs on V2.097 & 2.098.0-beta. On version 2.066 it works fine.
Comment #1
by ryuukk.dev — 2021-10-04T18:03:01Z
Someone changed the name of socket_t enum init to _init Some places in the code calls socket_t.init, but none have been updated, could that be related?
https://github.com/dlang/phobos/blob/v2.097.2/std/socket.d#L2667
https://github.com/dlang/phobos/blob/v2.097.2/std/socket.d#L2696
https://github.com/dlang/phobos/blob/v2.097.2/std/socket.d#L2734
https://github.com/dlang/phobos/blob/v2.097.2/std/socket.d#L2895
https://github.com/dlang/phobos/blob/v2.097.2/std/socket.d#L2902
https://github.com/dlang/phobos/blob/v2.097.2/std/socket.d#L2947
Comment #2
by ryuukk.dev — 2021-10-04T18:07:57Z
According to this comment behavior should be unchanged, so that should be something else
https://github.com/dlang/phobos/pull/8068#discussion_r630689792
Comment #3
by dfj1esp02 — 2021-10-04T20:33:39Z
On windows the first member is zero: enum socket_t : SOCKET { INVALID_SOCKET } Where's the tests?
Comment #4
by robert.schadek — 2024-12-01T16:39:28Z
THIS ISSUE HAS BEEN MOVED TO GITHUB
https://github.com/dlang/phobos/issues/10479
DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB