Weird connections

23 views
Skip to first unread message

Dennis Mikhailitsky

unread,
Jun 18, 2015, 7:23:31 AM6/18/15
to mongoos...@googlegroups.com
Hi. I'm using Mongoose 5.4 and I noticed that it creates some weird local connections upon start (see screenshot below). Does anybody know what are those?


Dennis Mikhailitsky

unread,
Jun 18, 2015, 7:45:03 AM6/18/15
to mongoos...@googlegroups.com
I've investigated it further and figured that those connections are created in the ns_socketpair function. Sorry for my ignorance, but what is it used for?

Max Ignatenko

unread,
Jun 18, 2015, 8:15:48 AM6/18/15
to mongoos...@googlegroups.com
It is used by mg_wakeup_server() https://github.com/cesanta/mongoose/blob/master/mongoose.c#L5453 to wake sleeping mg_poll_server() during select() from another thread.

On Thu, Jun 18, 2015 at 12:45 PM, Dennis Mikhailitsky <mikhai...@gmail.com> wrote:
I've investigated it further and figured that those connections are created in the ns_socketpair function. Sorry for my ignorance, but what is it used for?

--
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.

Reply all
Reply to author
Forward
0 new messages