Difference between revisions of "enet.host:connect"
(Created page with "Connects a host to a remote host. Returns peer object associated with remote host. The actual connection will not ...") |
|||
Line 1: | Line 1: | ||
− | Connects a [[enet.host | host]] to a remote [[enet.host | host]]. Returns [[enet.peer | peer]] object associated with remote [[enet.host | host]]. The actual connection will not take place until the next [[enet.host:service | host:service()]] is | + | Connects a [[enet.host | host]] to a remote [[enet.host | host]]. Returns [[enet.peer | peer]] object associated with the remote [[enet.host | host]]. The actual connection will not take place until the next [[enet.host:service | host:service()]] is called, in which a "connect" [[enet.event | event]] will be generated. |
== Function == | == Function == | ||
=== Synopsis === | === Synopsis === |
Revision as of 19:30, 23 July 2014
Connects a host to a remote host. Returns peer object associated with the remote host. The actual connection will not take place until the next host:service() is called, in which a "connect" event will be generated.
Function
Synopsis
event = host:service( timeout )
Arguments
Returns
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