work on sockets

This commit is contained in:
Kevin Froman 2018-09-20 12:41:34 -05:00
parent 7fa41f31e7
commit d3f4e912f9
5 changed files with 17 additions and 12 deletions

View file

@ -271,7 +271,8 @@ class Onionr:
'''
def startChat(self):
socketInfo = json.dumps({'peer': '', 'address': '', 'port': 1337, 'create': True, 'reason': 'chat'})
peer = sys.argv[2]
socketInfo = json.dumps({'peer': '', 'address': peer, 'port': 1337, 'create': True, 'reason': 'chat'})
self.onionrCore.daemonQueueAdd('startSocket', socketInfo)
def getCommands(self):