User Tools

Site Tools


en:code:data:tcpserver

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
en:code:data:tcpserver [2011/09/24 23:21]
jmgr [nextPendingConnection]
en:code:data:tcpserver [2011/09/24 23:37]
jmgr [listen]
Line 36: Line 36:
 === Syntax === === Syntax ===
 <code javascript> <code javascript>
-myObject.connect(address, port);+myObject.listen(address, port);
 </code> </code>
 <code javascript> <code javascript>
-myObject.connect(address);+myObject.listen(address);
 </code> </code>
 <code javascript> <code javascript>
-myObject.connect();+myObject.listen();
 </code> </code>
  
en/code/data/tcpserver.txt ยท Last modified: 2021/02/13 11:23 (external edit)