inserting localhost
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user