do it... right?
parent
dc25be448b
commit
37f041b3d8
|
|
@ -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);
|
||||||
})
|
})
|
||||||
|
|
|
||||||
Reference in New Issue