but php will not pass the last line of
/ip/firewall/address-list/print =follow=1 .tag=adr
also i tried async request in the newer php class
$API->write('/ip/firewall/address-list/print', false); $API->write("=follow=1", false); $API->write('.tag=adr'); $API->read(true);
it has same problem . the last line will not finish . i want an always running code and use the data received from router .
$addRequest = new Request('/ip/firewall/address-list/print'); $addRequest->setArgument('follow', '1'); $addRequest->setTag('adr'); $client->sendAsync($addRequest);
each time something adds or removes from specified address-lists the script should do the same in another router in near realtime