en:code:data:tcpserver
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revisionLast revisionBoth sides next revision | ||
en:code:data:tcpserver [2011/04/20 20:35] – created jmgr | en:code:data:tcpserver [2011/09/24 23:37] – [listen] jmgr | ||
---|---|---|---|
Line 36: | Line 36: | ||
=== Syntax === | === Syntax === | ||
<code javascript> | <code javascript> | ||
- | myObject.connect(address, port); | + | myObject.listen(address, port); |
</ | </ | ||
<code javascript> | <code javascript> | ||
- | myObject.connect(address); | + | myObject.listen(address); |
</ | </ | ||
<code javascript> | <code javascript> | ||
- | myObject.connect(); | + | myObject.listen(); |
</ | </ | ||
Line 76: | Line 76: | ||
==== nextPendingConnection ==== | ==== nextPendingConnection ==== | ||
- | Returns the next pending connection as a [[code: | + | Returns the next pending connection as a [[en:code: |
=== Syntax === | === Syntax === | ||
Line 84: | Line 84: | ||
=== Returns === | === Returns === | ||
- | * (Tcp) the new client as a [[code: | + | * (Tcp) the new client as a [[en:code: |
=== Exceptions === | === Exceptions === |
en/code/data/tcpserver.txt · Last modified: 2021/02/13 11:23 by 127.0.0.1