nl_tokens: Add a client <code > socket< / code > to the Crafty server instance . The Crafty net features will use this <code > socket< / code > to communicate with the client .
pl_tokens: function ( Crafty , socket ) { // add client to receive list craftyNet . __setInputSocket ( Crafty , socket ) ; // add client to send list craftyNet . __addOutputSocket ( Crafty , <mask> ) ; return Crafty ; }