Ethereal-dev: Re: [ethereal-dev] pipe capture checked in

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Guy Harris <gharris@xxxxxxxxxxxx>
Date: Sun, 30 Jul 2000 20:42:19 -0700
On Sun, Jul 30, 2000 at 07:22:19PM +0200, Olivier Abad wrote:
> All the code is #ifdef'ed so as not to be compiled on WIN32.

Well, some of it is.  I'll be checking in changes to protect the rest of
it, so that "capture.c" compiles on Win32 (as well as fixing some other
Win32 compile problems, some of which I think I may have introduced).

> I don't think named pipes exist on WIN32 but I could be wrong.

They do - see "CreateNamedPipe()" (anonymous pipes also exist - see
"CreatePipe()", which is spelled "pipe()" on UNIX :-)).

I don't think they exist on a file system in the way they do on UNIX,
though, so I don't know whether you can do the UNIX technique of

	create a named pipe file;

	run program A with its output redirected to that file;

	run Ethereal and tell it to read from that file.