Package-level declarations

Functions

Link copied to clipboard

Split a discovered or entered address into host and port. A bracketed IPv6 literal ([fe80::1]:4403, as NetworkRepository writes it) keeps its colons; plain host and host:port cover IPv4 and hostnames.