Mailing List archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[vdr] Re: mplayer-cluster : with W2000 ???
> On Tue, 23 Sep 2003, Patrick Cernko wrote:
> >
> > I think the main problem is, the the remote_server uses fifos (aka named
> > pipes) to push and get the data to/from mplayer. But Windoze does not
> > support fifos or can cygwin emulate fifos as well (as symlinks)? Then it
> > would be possible (possibly)! :-)
> >
>
> Windows NT (and XP, but don't know about others) supports fifos with
> CreatePipe(...) and CreateNamedPipe(...) API calls.
> These pipes are not in same namespace as files and have to be named as
> \\.\pipe\name_of_pipe (or \\server_name\pipe\pipe_name).
>
> Another difference to unix fifos is that NT named pipes are deleted when
> last handle to pipe is closed, so remote_server should always create fifo
> before launching mencoder.
> NT Named pipes can be used over network (linux SMB client sees named pipes
> as files ?).
>
> Client end of named pipe can be handled just as regular file, but
> server must
> use CreateNamedPipe to create it. Reading/Writing pipes is done as with
> regular files. Both ends can read and/or write to pipe, so server means
> just the creator of pipe.
>
> So, just modifying remote_server to use CreateNamedPipe to open
> pipes should be enough ?
>
>
> I might still have small example code clip that uses NT named pipes to
> connect two processes. I can try to find it if someone is interested...
Sure I would be interested in that. Thanks in advance.
--
Info:
To unsubscribe send a mail to ecartis@linuxtv.org with "unsubscribe vdr" as subject.
Home |
Main Index |
Thread Index