I think we can probable do what Google Chrome does which is use socketpair on POSIX platforms and emulate them with named pipes on Windows. See here<https://code.google.com/p/chromium/codesearch#chromium/src/ipc/ipc_channel.h> .
On Monday, January 20, 2014 7:56:37 AM UTC-8, Fedor Indutny wrote: > > Hi! > > I don't think that this would work on windows. That's probably the > main reason why it isn't in the libuv. > > However, if you'll come with something cross-platform - I would > definitely review it and make everything to land it in repository. > > Cheers, > Fedor. > > On Mon, Jan 20, 2014 at 5:32 AM, <[email protected] <javascript:>> > wrote: > > Hi. libuv doesn't seem to give a way to create anonymous or abstract > sockets > > (the bind interface doesn't let one create auto abstract or autobound > > sockets (which is a Linux extension). Is there already an equivalent to > the > > socketpair, pipe and autobind sockets functionality or do I have to > > manually implement this functionality myself? Are these types of > operations > > inherently unportable or has there just been no need or time to create > > equivalents for libuv? I'd assume that these types of operations would > be > > the easiest way to add some types of multithreading support to libuv and > > since there are already a couple of multithreading tools in libuv these > > operations seem like a natural fit to me. If I did wrap support for > these > > myself would that work be appreciated by the libuv community (I'd have > to > > sign the CLA of course)? > > > > -- > > You received this message because you are subscribed to the Google > Groups > > "libuv" group. > > To unsubscribe from this group and stop receiving emails from it, send > an > > email to [email protected] <javascript:>. > > To post to this group, send email to [email protected]<javascript:>. > > > Visit this group at http://groups.google.com/group/libuv. > > For more options, visit https://groups.google.com/groups/opt_out. > -- You received this message because you are subscribed to the Google Groups "libuv" 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/libuv. For more options, visit https://groups.google.com/groups/opt_out.
