|
|
Line 1: |
Line 1: |
− | Returns a string that describes the socket address of the given [[enet.host | host]]. The string is formatted as “a.b.c.d:port”, where “a.b.c.d” is the IP address of the used socket.
| + | #REDIRECT [[enet.host:get_socket_address]] |
− | == Function ==
| |
− | === Synopsis ===
| |
− | <source lang="lua">
| |
− | host:socket_get_address()
| |
− | </source>
| |
− | === Arguments ===
| |
− | None
| |
− | === Returns ===
| |
− | {{param|string|address|A string that describes the socket address.}}
| |
− | | |
− | == See Also ==
| |
− | * [[parent::lua-enet]]
| |
− | * [[enet.host]]
| |
− | == Other Languages ==
| |
− | {{i18n|enet.host:socket_get_address}}
| |