On Saturday, 17 July 2021 at 04:13:53 UTC, btiffin wrote:
On Friday, 16 July 2021 at 20:04:21 UTC, jfondren wrote:
On Friday, 16 July 2021 at 19:25:32 UTC, btiffin wrote:
Using gdc-11 and Seamonkey.
https://rosettacode.org/wiki/Hello_world/Web_server#D does
not compile.
The `while` as you
On Friday, 16 July 2021 at 20:04:21 UTC, jfondren wrote:
On Friday, 16 July 2021 at 19:25:32 UTC, btiffin wrote:
Using gdc-11 and Seamonkey.
https://rosettacode.org/wiki/Hello_world/Web_server#D does not
compile.
The `while` as you noted is wrong. The server also doesn't turn
REUSEADDR on
On Friday, 16 July 2021 at 20:04:21 UTC, jfondren wrote:
static const greeting = q"EOF
Or just `immutable greeting = ...`
On Friday, 16 July 2021 at 19:25:32 UTC, btiffin wrote:
Using gdc-11 and Seamonkey.
https://rosettacode.org/wiki/Hello_world/Web_server#D does not
compile.
The `while` as you noted is wrong. The server also doesn't turn
REUSEADDR on for the server socket, so this will be very annoying
to
Using gdc-11 and Seamonkey.
https://rosettacode.org/wiki/Hello_world/Web_server#D does not
compile.
```d
prompt$ gdc-11 helloServer.d
helloServer.d:12:29: error: cannot cast expression currSock =
listener.accept() of type std.socket.Socket to bool
12 | while(cast(bool)(currSock =