redhog/node-i2p

Example code not working

40ff opened this issue · 2 comments

40ff commented

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?

I'm getting exactly the same error.

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