danikf/tik4net

LoadAsync with listen / follow

heckradr opened this issue · 2 comments

Hello. I'm wondering if I can use the LoadAsync command in combination with the listen / follow (or follow-only) parameter? I tried it but without success.

I want to get automatically an update for example if an interface changed its state.

I can't find any information about that in the docs or examples. I assume this is not a planned feature in tik4net yet.

Please help this issue for live traffic and interface activity changes reports throught real-time.
Thank you. @Deantwo @danikf

I want to get automatically an update for example if an interface changed its state.

I don't think the API supports this. And asking highlevel questions like this on an library likely won't get you an answer. I suggest asking on the MikroTik forum if this is even something the API supports. If it does, then maybe the tik4net library can do it or be expanded to support that feature if it doesn't already.

Looking quickly at the API documentation, it sounds like the API supports a listen command on interfaces. https://help.mikrotik.com/docs/display/ROS/API#API-/cancel,simultaneouscommands

Either way, I suggest asking on the forum and learning to use the more basic API commands.