tcpdump mailing list archives

Re: output help


From: stephen () stephengarrett net
Date: Sat, 7 Jun 2008 08:45:23 -0400 (EDT)

I tried piping to the SuperCollider program, but I'm guessing I would have to edit the SuperCollider code then so that 
I can tell it what to do with the Piped data?

Thanks,
Stephen


-----Original Message-----
From: Guy Harris <guy () alum mit edu>
Sent: Saturday, June 7, 2008 3:29am
To: tcpdump-workers () lists tcpdump org
Subject: Re: [tcpdump-workers] output help

stephen () stephengarrett net wrote:

I'm new to the tcpdump code and I'm looking for some direction as to
where the screen output takes place. I'm trying to capture that output
and send it via OpenSoundControl messages to the SuperCollider music
technology programming system.

"Capture" in what sense?

On UN*X, and probably on Windows with WinDump, you could pipe the output 
to another program.  The only tricky part would be getting it not to 
buffer the output, so that stuff gets sent down the pipe when the 
packets arrive; you can do that with the "-l" flag.

The "other program" would parse the output of tcpdump and figure out 
what sounds to play.

If you can do that, you don't need to do anything to the tcpdump code.
-
This is the tcpdump-workers list.
Visit https://cod.sandelman.ca/ to unsubscribe.


-
This is the tcpdump-workers list.
Visit https://cod.sandelman.ca/ to unsubscribe.


Current thread: