Emilua API Reference ip dial For the latest stable version, please use Emilua API 0.10! ip.dial Synopsis local ip = require "ip" ip.tcp.dial() ip.udp.dial() function(ep: string) -> socket Description Creates a socket. Breaks ep into host and service. Forward-resolves host and service into a list of endpoints. Connects the created socket to any of the resolved endpoints. Returns the connected socket. Current fiber is suspended until operation finishes. connect host_name