net module

Property Description Access Type
net.isalive Check if a network connection is available readonly boolean
net.error Get the last network related error message readonly string | nil
net.ip Get current local IPv4 address readonly string | boolean
net.publicip Get the current public IPv4 address readonly string | boolean
Function Description Return value
net.resolve() Resolve hostname to IP string | boolean
net.reverse() Get the fully qualified domain from an IP address string
net.select() Check for network events on Sockets boolean
net.urlparse() Parse an URL into components string | false | nil
net.adapters() Iterate over installed network adapters function
Object Description
Socket TCP socket implementation
Http HTTP client implementation
Ftp FTP client implementation