Fix for GitHub issue #122 and other fixes
This commit is contained in:
parent
924f030994
commit
4708231046
8 changed files with 102 additions and 35 deletions
|
@ -59,7 +59,7 @@ NodeControlClient::NodeControlClient(const char *ep,const char *authToken,void (
|
|||
impl->resultHandler = resultHandler;
|
||||
impl->arg = arg;
|
||||
try {
|
||||
impl->ipcc = new IpcConnection(ep,&_CBipcResultHandler,_impl);
|
||||
impl->ipcc = new IpcConnection(ep,ZT_IPC_TIMEOUT,&_CBipcResultHandler,_impl);
|
||||
impl->ipcc->printf("auth %s"ZT_EOL_S,authToken);
|
||||
} catch ( ... ) {
|
||||
impl->ipcc = (IpcConnection *)0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue