On Mon, 11 Nov 2013 16:08:37 GMT, Stephan Dilly wrote:

I don't get the usage of resolveHost()...

It allows to resolve any host to IP via DNS query (to DNS server configured in the system)

How can I query the IP address of the server my vibe app is running on ?

You may be surprised how terribly imprecise this question is :) What do you exactly mean by this? IP of the interface(s) you listen on? Public IP as seen by external services for every listening interface? Former should be unknown to vibe.d itself if mask was used as listen address (0.0.0.0) but can be queried from the OS (it is OS socket magic). Latter is undefined in general case as it is completely routing-defined.