enet.peer:state
Returns the state of the peer as a string.
Function
Synopsis
peer:state()
Arguments
None.
Returns
- "disconnected"
- "connecting"
- "acknowledging_connect"
- "connection_pending"
- "connection_succeeded"
- "connected"
- "disconnect_later"
- "disconnecting"
- "acknowledging_disconnect"
- "zombie"
- "unknown"
See Also
Other Languages
Dansk –
Deutsch –
English –
Español –
Français –
Indonesia –
Italiano –
Lietuviškai –
Magyar –
Nederlands –
Polski –
Português –
Română –
Slovenský –
Suomi –
Svenska –
Türkçe –
Česky –
Ελληνικά –
Български –
Русский –
Српски –
Українська –
עברית –
ไทย –
日本語 –
正體中文 –
简体中文 –
Tiếng Việt –
한국어
More info