Function tarantool::coio::getaddrinfo
source · pub fn getaddrinfo(
host: &str,
port: &str,
hints: &addrinfo,
timeout: f64
) -> Result<addrinfo, Error>
Expand description
Fiber-friendly version of getaddrinfo(3)
.
host
- host name, i.e. “tarantool.org”port
- service name, i.e. “80” or “http”hints
- hints, seegetaddrinfo(3)
timeout
- timeout