Function resolveHost

Resolves the given host name/IP address string.

Setting use_dns to false will only allow IP address strings but also guarantees that the call will not block.

Prototypes

NetworkAddress resolveHost(
  string host,
  ushort address_family,
  bool use_dns
);

Authors

Sönke Ludwig

Copyright

© 2012 RejectedSoftware e.K.

License

Subject to the terms of the MIT license, as written in the included LICENSE.txt file.