Advertisement
Guest User

Untitled

a guest
Apr 24th, 2014
37
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.24 KB | None | 0 0
  1. for(int i = 0; i < 1000; i++)
  2. SendMessageToNodeOverTCP(i);
  3.  
  4. function OnData(p_data){
  5. LogData(p_data); //display the numbers in a custom gui
  6. };
  7.  
  8. net.createServer(function (p_socket) {
  9. p_socket.on('data', OnData);
  10. }).listen(p_port);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement