For the latest stable version, please use Emilua API 0.10!

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.