On Wed, 21 Aug 2013 19:56:54 GMT, Sönke Ludwig wrote:

the reason why it doesn't work is that the task that calls the delegate passed to listenTCP will close the connection once that delegate returns. The proper fix would be to wait for the manually started task to finish. Modified source with a join() call added

Yes! Now it works.

vibe.d is really awesome project and it is a pity that it is impossible to donate. :(