Skip to content

Commit 631b493

Browse files
Set Client UDP Port to 8080
1 parent 0184fa6 commit 631b493

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Server/Client.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import dgram from 'dgram';
22
import { Buffer } from 'buffer';
3-
const port: number = 8081;
3+
const port: number = 8080;
44

55
const message = Buffer.from('UDP IOT CONNETION DATA');
66
const client = dgram.createSocket('udp4');
@@ -17,4 +17,4 @@ client.send(message, port, 'localhost', (err) => {
1717
} else {
1818
console.log('Data sent to Server')
1919
}
20-
});
20+
});

0 commit comments

Comments
 (0)