On Sun, 04 Aug 2013 21:38:49 +0200, Marek Janukowicz wrote: > If anyone has any idea how to handle the problems I mentioned or has any > idea for more suitable design I would be happy to hear it. It's also > possible I'm approaching the issue from completely wrong direction, so > you can correct me on that as well.
Are you familiar with ZeroMQ? I write network infrastructure on a fairly regular basis and wouldn't dream of doing it without ZeroMQ: http:// zeromq.org/ There are D bindings in Deimos: https://github.com/D-Programming-Deimos/ ZeroMQ