oa_gateway

Module addr

Source
Expand description

Resolves configured host:port strings to std::net::SocketAddr.

Adapters take a resolved address, not a string, so a bad name fails at startup instead of when the first connection is attempted.

Functionsยง

  • host_part ๐Ÿ”’
    The host part of a configured host:port, without the port.
  • resolve_addr ๐Ÿ”’
    Resolves a configured address string to a socket address.