<div dir="ltr">Hi,<div><br></div><div>I have the following script:</div><div><br></div><div>-------------------------------------------------------</div><div><div>s = socket.socket(socket.AF_UNIX)<br></div><div>s.connect("/var/run/charon.vici")</div><div>v = vici.Session(s)</div><div><br></div><div>ver = v.version()</div><div><br></div><div>print "{daemon} {version} ({sysname}, {release}, {machine})".format(**ver)</div><div><br></div><div>#Initiate Connection</div><div>sa = collections.OrderedDict()</div><div>sa['child'] = "EarthComm"</div><div>sa['timeout'] = '1000'</div><div>sa['init-limits'] = '1'</div><div>sa['loglevel'] = '0'</div><div><br></div><div>ret = v.initiate(sa)</div><div><br></div><div>#If removed Initiate does not work</div><div>ret.next()</div><div>ret.close() </div><div><br></div><div>s.close()<br></div></div><div>-------------------------------------------------------<br></div><div><br></div><div>1. Why is it, if I remove "ret.next()" the connection will not initiate? Reading the doc, it seems that the generator should only return the logs.</div><div><br></div><div>2. "timeout" according to the documentation should be in seconds but charon see's it as milliseconds is this a typo or a bug?</div><div><br></div><div>Thanks,</div><div>Carlos</div></div>