On 10 February 2016, Bram Moolenaar <b...@moolenaar.net> wrote: > > Marius Gedminas wrote: > > > On Tue, Feb 09, 2016 at 10:24:55PM +0200, LCD 47 wrote: > > > > - A socket (what ch_open() currently does) > > > > - A pipe (only possible with an associated job) connected to > > > > stdin/stdout/stderr. > > > > > > There are also UNIX domain sockets (a.k.a. named pipes), which > > > you get essentially for free once you have the code for INET > > > sockets. They are as efficient as (unnamed) pipes. > > > > Nitpick: Unix domain sockets and named pipes (aka FIFOs) are two > > different concepts. > > > > http://linux.die.net/man/7/unix 4/fifo > > Once opened don't they work practially the same? As in using > select(), read(), write() and things like that. Errors can be > different, but that is a minor thing.
There are: (1) INET sockets (2) UNIX domain sockets (3) FIFOs. (1) and (2) are essentially the same, while (3) are something different. Marius's objection is that "named pipes" refer to (3), rather than (2), at least these days (there were conflicting names between commercial UNIXen in the past). /lcd -- -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to vim_dev+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.