work on sockets
This commit is contained in:
parent
7fa41f31e7
commit
d3f4e912f9
5 changed files with 17 additions and 12 deletions
|
@ -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):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue