From 37f041b3d801ea74b4fcd3682cd62f43c1522fd6 Mon Sep 17 00:00:00 2001 From: Marcus Date: Thu, 1 Apr 2021 01:20:23 -0400 Subject: [PATCH] do it... right? --- lib/node.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/lib/node.js b/lib/node.js index 10d0b28..17aeaa4 100644 --- a/lib/node.js +++ b/lib/node.js @@ -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.dir(connection); })