Main Page | Class Hierarchy | Compound List | File List | Compound Members | File Members

drift.cc File Reference


Detailed Description

Contains cmd_drift().

#include <sys/poll.h>
#include <unistd.h>
#include <cerrno>
#include <cstring>
#include <memory>
#include "bitmap.h"
#include "lib.h"
#include "rve.h"

Functions

void show_image (const char *data, size_t length)
int cmd_drift (int argc, char *argv[])
 


Variables

RGBA canvas


Function Documentation

int cmd_drift int  argc,
char *  argv[]
 

Interfaces with Driftnet (http://www.ex-parrot.com/~chris/driftnet/) to capture images coming across the network and display them at random positions on the screen.

To make this work you need to install Driftnet and run the TOOLS/driftd script on the machine that will be capturing from the network. You may want to edit the Driftnet Makefile to disable the GUI code. Also remember to edit the configuration at the top of driftd and to create a temporary dir on the capturing machine (default: ./drift).

Instead of connecting to a host/port, the drift command can also just read from stdin if you give the "-" argument.


Generated on Sun Oct 19 17:34:47 2003 for rve by doxygen 1.3.3