httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ben Laurie <...@gonzo.ben.algroup.co.uk>
Subject Re: ISAPI "standard"
Date Wed, 13 Dec 1995 15:43:03 GMT
> 
> > How do you read/write the request/response?
> 
> Either through the ServerSupportFunction(), or WriteClient() (another 
> server callback).  There is also ReadClient().
> 
> > It should be quite easy using dlopen() etc on those machines that support this.
> > (Solaris 2 and SunOS 4, at least.) _However_, I haven't looked to see
> > whether the shared library can call server routines by symbol name;
> > I have this suspicion that the server will have to pass pointers to
> > any useful routines that the library might want to call.

Not according to my docs - the shared library has access to symbols from the
running program. The running program must use dlsym to access symbols in the
shared library. Neat (and, to my surprise, supported under SCO 5, but not 3).

> 
> Ok, this is good to know.  I'd never looked at dlopen() before and you're 
> right, it shouldn't be hard at all.  What platforms don't besides Ultrix 
> and old versions of BSD?
> 
> 						...Mk
> 

-- 
Ben Laurie                  Phone: +44 (181) 994 6435
Freelance Consultant        Fax:   +44 (181) 994 6472
and Technical Director      Email: ben@algroup.co.uk
A.L. Digital Ltd,           URL: http://www.algroup.co.uk
London, England.

Mime
View raw message