mg_mgr_poll second paramater
Posted: Fri Aug 24, 2018 7:45 pm
mg_mgr_poll(&mgr, ?);
My platform is Esp32
What is purpose of second paramater.
I notice if have 1 tcp connection than mg_mgr_poll(&mgr, 1); is good enough.
but I have 3 tcp connections it slows down receiving and sending tcp messages.
but i have to do mg_mgr_poll(&mgr, 2); to give more time for poll.
Is my understanding is correct?
If I more work to do I need to give more time ?
My platform is Esp32
What is purpose of second paramater.
I notice if have 1 tcp connection than mg_mgr_poll(&mgr, 1); is good enough.
but I have 3 tcp connections it slows down receiving and sending tcp messages.
but i have to do mg_mgr_poll(&mgr, 2); to give more time for poll.
Is my understanding is correct?
If I more work to do I need to give more time ?