remove unnecessary outgoing port

This commit is contained in:
DavidVentura
2024-01-31 14:33:43 +01:00
parent 89534822ab
commit 5f6d5fefe3
+1 -2
View File
@@ -71,11 +71,10 @@ export const makeSession = (handlers: Record<keyof typeof Commands, PacketHandle
session.broadcast(buf); session.broadcast(buf);
}); });
const RECV_PORT = 49512; // important?
//const BCAST_IP = "192.168.1.255"; //const BCAST_IP = "192.168.1.255";
const BCAST_IP = "192.168.40.101"; const BCAST_IP = "192.168.40.101";
const SEND_PORT = 32108; const SEND_PORT = 32108;
sock.bind(RECV_PORT); sock.bind();
const session: Session = { const session: Session = {
outgoingCommandId: 0, outgoingCommandId: 0,