hi, in my script I run "remoteconnection.action ({'action': 'ping'}, function (err, res) {console.log (res)});". remoteconnection is the object of the remote ami. he replies "success" everything works correctly, except that after 2 answers, the variable res has 2 then 4 then 8, 16 etc. etc. entries. for each request I connect and disconnect.
hi, in my script I run "remoteconnection.action ({'action': 'ping'}, function (err, res) {console.log (res)});". remoteconnection is the object of the remote ami. he replies "success" everything works correctly, except that after 2 answers, the variable res has 2 then 4 then 8, 16 etc. etc. entries. for each request I connect and disconnect.