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

Next revision
Previous revision
en:code:data:tcpserver [2011/04/20 20:35]
jmgr created
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>​
  
Line 76: Line 76:
  
 ==== nextPendingConnection ==== ==== nextPendingConnection ====
-Returns the next pending connection as a [[code:​data:​tcp|Tcp]] object that can be used to read and write to the client. You should store this object if you want to write to this client later.+Returns the next pending connection as a [[en:code:​data:​tcp|Tcp]] object that can be used to read and write to the client. You should store this object if you want to write to this client later.
  
 === Syntax === === Syntax ===
Line 84: Line 84:
  
 === Returns === === Returns ===
-  * (Tcp) the new client as a [[code:​data:​tcp|Tcp]] object+  * (Tcp) the new client as a [[en:code:​data:​tcp|Tcp]] object
  
 === Exceptions === === Exceptions ===
en/code/data/tcpserver.txt ยท Last modified: 2020/02/09 13:26 (external edit)