inetd or super-server in D :-)

Janderson ask at me.com
Wed Sep 17 20:53:23 PDT 2008


Benji Smith wrote:
> Janderson wrote:
>> * ? What is super-server. Context would help when trying to translate 
>> this.
>>
>>  >>> - how super-server can realize the port of connection request of 
>> the client, to provide proper request-handle procedure?
>>
>> * I'm not exactly sure what you mean here but I'll take 2 stabs *
>>
>> - How can I find the port the client made the request on.
>> - How can I hand shake with the client to make a connection to the 
>> server.
>>
>>  >>> -after "fork" do I just trigger "exec" with proper server as an 
>> argument of the function   ?
>>
>> - Do I trigger "exec" with the ??proper server?? as an argument of the 
>> function after a "fork"?
>>
>> * ?? What is proper server?
> 
> I understood the question.
> 
> A "super server" is terminology for a linux daemon like "inted" or 
> "xinetd" which listens for certain incoming protocol events, determines 
> the appropriate server to invoke, and passes the request to that server.
> 
> A super server allows a single daemon to manage the servers for a bunch 
> of different protocols, so that you can consolidate their configuration 
> (and you don't need to have, for example pop3d, running 24 hours a day; 
> only when pop3 requests are handled).
> 
> Having said all that, I don't know anything about how to implement a 
> super server in D. But I thought the questions were unambiguous, at 
> least for someone who knows the background info about linux daemons.
> 
> --benji

Knowing the lingo sure would help.  I thought someone might be able to 
figure out Roberts email based off the keywords.  It was possible that 
given the way it was written that it was something that Robert had made 
so I thought I'd better speak up, rather then let Roberts question fall 
to the wayside.  I guess I should have asked the all-knowing google first.

-Joel



More information about the Digitalmars-d mailing list