can user add his own service in cygwin inetd?

Corinna Vinschen corinna-cygwin@cygwin.com
Wed Dec 11 06:25:00 GMT 2002


On Tue, Dec 10, 2002 at 10:32:49PM -0500, Larry Hall (RFK Partners, Inc) wrote:
> Sorry, I'm not an inetd expert.  I'd be stuck looking at the available 
> documents too.  It's not immediately obvious to me that a perl program 
> wouldn't be able to be run from inetd but then again, I don't know what
> you're doing.  If you do exactly what you've done on Linux and it works
> there but not with Cygwin, well, then I guess that means there's some
> difference that will need to be tracked down.  If you're interested in 
> doing so, you could start with invoking inetd with the -d flag.  That
> may shed some light.

The started application (as e. g. rshd, telnetd, ftpd) have to expect
the opened socket descriptors to the client application as stdio
file descriptors (0, 1, 2).  That should be all you have to check.

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin@cygwin.com
Red Hat, Inc.

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list