Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
billiegoose committed Jul 5, 2024
1 parent 5a66f09 commit e7e02b5
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions test/manual/measure-reconnect.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,8 @@ swarm.dht.on('network-change', () => {
let connected = false

swarm.on('connection', async (conn) => {
console.log(conn.rawStream.remoteHost)
console.log(conn.rawStream.remotePort)
console.log(conn.relay)
console.log(conn.rawStream.remoteHost + ':' + conn.rawStream.remotePort)
console.log('conn.relay', conn.relay)
conn.on('relay', (...args) => console.log('relay:', ...args))
conn.on('error', (...args) => console.log('error:', ...args))
conn.on('close', (...args) => console.log('close:', ...args))
Expand Down

0 comments on commit e7e02b5

Please sign in to comment.