Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- for(int i = 0; i < 1000; i++)
- SendMessageToNodeOverTCP(i);
- function OnData(p_data){
- LogData(p_data); //display the numbers in a custom gui
- };
- net.createServer(function (p_socket) {
- p_socket.on('data', OnData);
- }).listen(p_port);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement