ip.toendpoint

Synopsis

local ip = require "ip"
ip.toendpoint(ep: string) -> ip.address, integer

Description

Convert a traditional network endpoint (IP address + unsigned 16-bit integer) from its string representation to its decoupled members.