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 ?
mg_mgr_poll second paramater
-
- Posts: 9764
- Joined: Thu Nov 26, 2015 4:08 am
Re: mg_mgr_poll second paramater
Seems to be a timeout, in ms. Notice that the Mongoose people have their own forum; you'll probably get more answers when you post there.
Who is online
Users browsing this forum: No registered users and 95 guests