Returns the field ENetPeer::connectID that is assigned for each connection.
== Function ==
=== Synopsis ===
<source lang="lua">
peer:connect_id()
</source>
=== Arguments ===
None.
=== Returns ===
{{param|number|id|Unique ID that was assigned to the connection.}}

== See Also ==
* [[parent::lua-enet]]
* [[enet.peer]]
== Other Languages ==
{{i18n|enet.peer:connect_id}}