| 1 |
$Id: README,v 1.2 2003/07/08 15:21:35 fletch Exp $ |
| 2 |
|
| 3 |
-------- |
| 4 |
Abstract |
| 5 |
-------- |
| 6 |
|
| 7 |
POE::Component::Pcap is a POE wrapper for the Net::Pcap wrapper for |
| 8 |
libpcap. It exists as a separate session which sends events back to a |
| 9 |
specified session when packets are ready. |
| 10 |
|
| 11 |
------------ |
| 12 |
Requirements |
| 13 |
------------ |
| 14 |
|
| 15 |
This module requires POE and Net::Pcap. The requirements are encoded |
| 16 |
in Makefile.PL. The NetPacket::* modules are also probably useful. |
| 17 |
|
| 18 |
------------------ |
| 19 |
Basic Installation |
| 20 |
------------------ |
| 21 |
|
| 22 |
POE::Component::Pcap may be installed through the CPAN shell in the |
| 23 |
usual CPAN shell manner. This typically is: |
| 24 |
|
| 25 |
$ perl -MCPAN -e 'intstall POE::Component::Pcap' |
| 26 |
|
| 27 |
You can also read this README from the CPAN shell: |
| 28 |
|
| 29 |
$ perl -MCPAN -e shell |
| 30 |
cpan> readme POE::Component::Pcap |
| 31 |
|
| 32 |
And you can install the component from the CPAN prompt as well: |
| 33 |
|
| 34 |
cpan> install POE::Component::Pcap |
| 35 |
|
| 36 |
------------------- |
| 37 |
Manual Installation |
| 38 |
------------------- |
| 39 |
|
| 40 |
POE::Component::Pcap can also be installed manually. The latest CPAN |
| 41 |
version can be found at |
| 42 |
<ftp://ftp.cpan.org/pub/CPAN/authors/id/F/FL/FLETCH/> or in a |
| 43 |
similarly named directory at your favorite CPAN mirror. The most |
| 44 |
recent development snapshot, which only rarely contains hideous |
| 45 |
show-stopping bugs, is available from <http://phydeaux.org/>. |
| 46 |
|
| 47 |
Downloading and unpacking the distribution are left as exercises for |
| 48 |
the reader. To build and test it: |
| 49 |
|
| 50 |
perl Makefile.PL |
| 51 |
make test |
| 52 |
|
| 53 |
When you're ready to install the component: |
| 54 |
|
| 55 |
make install |
| 56 |
|
| 57 |
It should now be ready to use. |
| 58 |
|
| 59 |
--------------------------- |
| 60 |
EOF: Thank you for reading. |
| 61 |
--------------------------- |