Module tentacle::utils[][src]

Expand description

Some useful functions

Modules

This module create a DnsResolver future task to DNS resolver

Functions

Get peer id from multiaddr

Check if the ip address is reachable. Copy from std::net::IpAddr::is_global

Change multiaddr to socketaddr

convert socket address to multiaddr