Copyright © https://mongoose-os.com

Mongoose OS Forum

frame

mg_mgr_poll second paramater

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);

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 you more work to do you need to give more time?

Comments

Sign In or Register to comment.