Base class: Object

Lua
C++
Edit

Peer

This class is an object representing another computer this machine is connected to.

Properties

Example

-- Create a new Peer object
local peer = Peer()

-- Access the host IP address
local host = peer.host

-- Access the port number
local port = peer.port
Copyright © 2024 Ultra Software.
All rights reserved.