signal(). The return value of
mg_poll_server()is a time!! instead of 0=capture -1=error
. My question is how would you realise the 15min timeout (without changing too much in mongoose.c).
ret = mg_poll_server(server, 15*60*1000); //15min timeout
if(ret == 0)
//do sth here
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 mongoose-user...@googlegroups.com.
To post to this group, send email to mongoos...@googlegroups.com.
Visit this group at http://groups.google.com/group/mongoose-users.
For more options, visit https://groups.google.com/d/optout.