On Monday, 21 December 2015 at 20:53:14 UTC, Jakob Jenkov wrote:
On Monday, 21 December 2015 at 20:20:44 UTC, Stefan wrote:
How about https://github.com/dcarp/asynchronous ? Asyncio
Socket handling is sometimes quite nice. It's performance is
okay for nearly no effort and the code looks clean.
Details here:
http://dcarp.github.io/asynchronous/asynchronous/streams/startServer.html
vibe.d also offers a fiber based asyncio way of dealing with
sockets.
http://vibed.org/docs#tcp-server
Maybe it fits your needs.
Thanks - but I am primarily looking for a solution without
external frameworks. Frameworks have a way of bloating over
time.
My server uses "poll" for that.