File: README

package info (click to toggle)
libnetserver-generic-perl 1.03-8
  • links: PTS
  • area: main
  • in suites: lenny, squeeze
  • size: 120 kB
  • ctags: 33
  • sloc: perl: 995; makefile: 75
file content (47 lines) | stat: -rw-r--r-- 1,217 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47

README for NetServer::Generic


NetServer::Generic is a perl module that implements an object-oriented
interface for developing internet servers.

It requires:

* Perl 5.004 or later
* The following modules:
  -- IO::Socket (part of the standard distribution, or available from
     CPAN)
  -- IO::Select
  -- ChatBot::Eliza (optional: used by the elizad example)

Two examples are included:

  elizad -- a simple psychotherapy daemon
  shttpd -- a really, stupidly, basic HTTP server

A test script, demonstrating client/nonforking operation, is also included.

NetServer::Generic is required by NetServer::SMTP and the leafmail package.

To install NetServer::Generic, follow the usual Perl module installation
practice, viz (probably as root):

  cd Generic
  perl Makefile.PL
  make
  make test
  make install

NOTE: The test mechanism is slightly non-standard, because 
      NetServer::Generic's quit() method interferes with Test::Harness.
      For this reason, the real test (testguts-forked.pl for the forking
      server and testguts-preforked.pl for the preforked server) is invoked 
      from within test.pl. 

Problems, questions, brickbats or plaudits to: charlie@antipope.org

Enjoy!


-- Charlie