node-i2p icon indicating copy to clipboard operation
node-i2p copied to clipboard

Example code not working

Open 40ff opened this issue 6 years ago • 2 comments

Hello, I tried the example code from the README. But when I try to connect to the server I get:

BaseConnection.js:41 client.reuseConn(); ReferenceError: client is not defined

Could you please help me?

40ff avatar Aug 07 '18 18:08 40ff

I'm getting exactly the same error.

knaccc avatar Jan 14 '19 14:01 knaccc

Ah, figured it out. Change line 41 of BaseConnection.js to say self.reuseConn(); instead of client.reuseConn();

knaccc avatar Jan 14 '19 14:01 knaccc