[−][src]Function tarantool_module::coio::getaddrinfo
pub fn getaddrinfo(
host: &str,
port: &str,
hints: &addrinfo,
timeout: f64
) -> Result<addrinfo, Error>
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