enet.host:socket get address

Returns a string that describes the socket address of the given host . The string is formatted as “a.b.c.d:port”, where “a.b.c.d” is the IP address of the used socket.

Function

Synopsis

host:socket_get_address()

Arguments

None

Returns

string address
A string that describes the socket address.

See Also

Other Languages