I wasn't sure if i should use tokio or sync networking, or glib event loop... I went with the standard library with a timeout of 50ms. Let me know if there is a better way to achieve the goal.
Tested and it works!
I wasn't sure if i should use tokio or sync networking, or glib event loop... I went with the standard library with a timeout of 50ms. Let me know if there is a better way to achieve the goal.
Tested and it works!