W3C home > Mailing lists > Public > www-lib@w3.org > April to June 2000

Re: [building a proxy server with libwww]

From: Mikhail Grouchinski <mgrouch@usa.net>
Date: 4 Apr 00 15:59:28 EDT
Message-ID: <20000404195928.27083.qmail@nw174.netaddress.usa.net>
To: or <or@gammasite.com>, "www-lib@w3.org" <www-lib@w3.org>
or <or@gammasite.com> wrote:
...
But, what if the requests arrive not from a socket, let's say they arrive
from some priority queue, or one of the 
constraints of the application is that the socket where the requests come
from is managed by a another thread 
and not by the tread who "executes" libwww. Is there any way around.
...


The standard way around this is to create a parent process which will
read message queue, and will communicate with the child via socket
pair. The child process will use liwww select() loop.

Mikhail Grouchinski


____________________________________________________________________
Get free email and a permanent address at http://www.netaddress.com/?N=1
Received on Friday, 7 April 2000 01:52:36 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 23 April 2007 18:18:36 GMT