Emilua API Reference ip tcp.listen For the latest stable version, please use Emilua API 0.10! ip.tcp.listen Synopsis local ip = require "ip" ip.tcp.listen(ep: string) -> ip.tcp.acceptor Description Creates a socket. Set common options (e.g. reuse-address). Binds the socket to ep. Put the socket in the listening state. Returns the socket. toendpoint tcp.acceptor