[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [dev-serveez] prog-server

From: stefan
Subject: Re: [dev-serveez] prog-server
Date: Thu, 22 Nov 2001 17:24:51 +0100 (CET)

On Wed, 21 Nov 2001, Raimund 'Raimi' Jacob wrote:

> Ela and me just committed some lines so that the prog-server can now
> connect incomming tcp connections to stdin/out of any program.
> much more to do...

Some of this work has now been done.  The passthrough interface in
libserveez knows now about three different passthrough methods:

 * SVZ_PROCESS_FORK -- fork() and exec(); tested with telnet
 * SVZ_PROCESS_SHUFFLE_PIPE -- handle transactions ourselves with two
                               pairs of anonymous pipes; not tested
 * SVZ_PROCESS_SHUFFLE_SOCK -- handle the transactions with an unnamed
                               pair sockets (socketpair (AF_UNIX, ...));
                               tested with telnet

Basically the prog-server should now be able to handle incoming pipe and
tcp (connection oriented protocols) connections with all three methods.  A
good starting point to write some script called `inetd.scm' which parses
`inetd.conf' and sets up some prog-servers...

Can anyone verify the functionality of the prog-server?  I also add some
documentation bits about the server.  Please have a look...


reply via email to

[Prev in Thread] Current Thread [Next in Thread]