enet.host:get socket 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:get_socket_address()

Arguments

None.

Returns

string address
A string that describes the socket address.

See Also

Other Languages