I'm new on Node.js and i need some help. I have this code in PHP which is working:
$fp = fsockopen("udp://127.0.0.1", 30120);
fwrite($fp, "\xFF\xFF\xFF\xFFrcon azerty say hello\x00");
But i am looking for the equivalent in Node.js, can someone help me? I am trying to make an RCon API in Node.js for FiveM. Thank you.
I'm new on Node.js and i need some help. I have this code in PHP which is working:
$fp = fsockopen("udp://127.0.0.1", 30120);
fwrite($fp, "\xFF\xFF\xFF\xFFrcon azerty say hello\x00");
But i am looking for the equivalent in Node.js, can someone help me? I am trying to make an RCon API in Node.js for FiveM. Thank you.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.