do it... right?

canary
Marcus 2021-04-01 01:20:23 -04:00
parent dc25be448b
commit 37f041b3d8
1 changed files with 6 additions and 1 deletions

View File

@ -55,7 +55,12 @@ class Node extends EventEmitter {
} }
} }
stp.createServer(this.identity, (connection) => { console.log('creating server on port ' + this.port);
stp.createServer({
identity: this.identity,
port: this.port
}, (connection) => {
console.log('incomming connection...'); console.log('incomming connection...');
console.dir(connection); console.dir(connection);
}) })