cryptos icon indicating copy to clipboard operation
cryptos copied to clipboard

added listen function for simple node

Open JushBJJ opened this issue 3 years ago • 0 comments

There could also be times where the node is contacted from the outside world. Although I'm not sure if binding the socket to a public ip would be suitable for this repo, so I went for the local ip address.

Also added SimpleNode.connect command so its optional whether to either listen or connect to an address, however connecting will only require the host address because of self.port already configured in the SimpleNode __init__() arguments.

JushBJJ avatar Jun 04 '21 15:06 JushBJJ