toosuto-r / qchat

KDB+ end-to-end RSA encrypted chat fun
8 stars 3 forks source link

rework main process to reduce reliance on system commands #33

Closed jonathonmcmurray closed 5 years ago

jonathonmcmurray commented 6 years ago

Re-written main process to remove the need to search for a free port & sleep etc., making use of KDB's ability to select a random free port with -p 0W and a callback to the main chat process from the worker once it's initialised

Also removed the switch for enabling/disabling worker - at this point I think worker is pretty integral, and already if you set this to 0b loading would fail - I think when loading bots.q