Release: serverino - please destroy it.

frame frame86 at live.com
Sat May 14 20:44:54 UTC 2022


On Sunday, 8 May 2022 at 21:32:42 UTC, Andrea Fontana wrote:

> Please help me testing it, I'm looking forward to receiving 
> your shiny new issues on github.
>
> Dub package: https://code.dlang.org/packages/serverino
>
> Andrea

Take care of socket exceptions - especially if you want to make a 
port to Windows.

You should always expect one. It's not enough to test 
`Socket.isAlive` - a client socket may be faulty and any illegal 
socket operation throws and kills your loop. Even if `isAlive` 
works as expected, it may changes the status before you have add 
the socket to the set. You don't want your server to crash if a 
client misbehaves.


More information about the Digitalmars-d-announce mailing list