inserting localhost

This commit is contained in:
daniel muniz
2024-06-18 13:19:25 -03:00
parent 69ac63c74c
commit e39149a0cd

View File

@@ -3,12 +3,16 @@ const client = dgram.createSocket('udp4');
const message = 'bet365.com';
const serverHost = '209.97.181.89';
const serverPort = 33333;
const serverHost = 'localhost';
const serverPort = 3000;
// const serverHost = '209.97.181.89';
// const serverPort = 33333;
// const serverHost = 'localhost';
// const serverPort = 41234;
client.send(message, 0, message.length, serverPort, serverHost, (err) => {
if (err) {
console.error(err);