remove unnecessary outgoing port
This commit is contained in:
+1
-2
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user