Commit 663e58de authored by 神楽坂玲奈's avatar 神楽坂玲奈

test

parent 058b939c
...@@ -13,6 +13,7 @@ let timeout_timer: any = null; ...@@ -13,6 +13,7 @@ let timeout_timer: any = null;
export function send_route(from: Router, to: Router, via: Router) { export function send_route(from: Router, to: Router, via: Router) {
const message: DownloadMessage = { seq: from.seq, to: to.id, via: via.id }; const message: DownloadMessage = { seq: from.seq, to: to.id, via: via.id };
console.log(from.id, message);
return socket.send(JSON.stringify(message), from.rinfo!.port, from.rinfo!.address); return socket.send(JSON.stringify(message), from.rinfo!.port, from.rinfo!.address);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment