Could you show the code (or pseudo-code) for your handler function please? A sequence of mg_* calls what matters.
On Sat, Sep 6, 2014 at 10:12 AM, Sergey Lyubka <[email protected]> wrote: > Pushed > https://github.com/cesanta/mongoose/commit/b116b2fa82f753ad7b334b8f5b597915f2a2e2ce > Thank you Carlos. > > > On Sat, Sep 6, 2014 at 8:21 AM, Carlos Tangerino < > [email protected]> wrote: > >> >> Hi. >> >> The doc states that >> >> void mg_poll_server(struct mg_server *server, int milliseconds); >> >> But indeed, this function returns the number of active connections,. >> *int* mg_poll_server(struct mg_server *, int milliseconds); >> >> Cheers >> >> >> >> On Fri, Jun 27, 2014 at 5:02 PM, Sergey Lyubka <[email protected]> wrote: >> >>> mongoose.c has net_skeleton files embedded inside, there is no need to >>> combine them. >>> If you want to use net skeleton API, just #include "net_skeleton.h" in >>> your code. >>> >>> However if you still want to disable embedded net skeleton code and >>> compile it separately, add -DNOEMBED_NET_SKELETON to your compilation flags. >>> >>> -- >>> You received this message because you are subscribed to a topic in the >>> Google Groups "mongoose-users" group. >>> To unsubscribe from this topic, visit >>> https://groups.google.com/d/topic/mongoose-users/KmWjIMHhGoc/unsubscribe >>> . >>> To unsubscribe from this group and all its topics, send an email to >>> [email protected]. >>> To post to this group, send email to [email protected]. >>> Visit this group at http://groups.google.com/group/mongoose-users. >>> For more options, visit https://groups.google.com/d/optout. >>> >> >> -- >> You received this message because you are subscribed to the Google Groups >> "mongoose-users" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> To post to this group, send email to [email protected]. >> Visit this group at http://groups.google.com/group/mongoose-users. >> For more options, visit https://groups.google.com/d/optout. >> > > -- You received this message because you are subscribed to the Google Groups "mongoose-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/mongoose-users. For more options, visit https://groups.google.com/d/optout.
