On Mon, 27 Jan 2014 20:34:56 GMT, Stefan Koch wrote:

Ah that makes sense. Thanks for taking a look! Any reasonable work-around in the meantime that you can think of? It seems all you can get out of a NetworkAddress is OS-specific handles and there doesn't seem to be a way to feed that into the relevant TCPConnection framework that I can see.

Sorry you to wait until tomarrow noon. Then I hopefully know more ...
should not be too much trouble to find a workaround.

One possibility would be to use std.socket.Address.toAddrString (NetworkAddress needs to be converted to an InternetAddress or Internet6Address).

My first reaction was "vibe.d should really use std.socket.Address instead of its own NetworkAddress". But then I realized that it is a class. But network addresses definitely have to work without any kind of GC/heap allocations, so this unfortunately is not really an option. But at least there could be a NetworkAddress.toAddress function that performs the conversion in a convenient way.