سؤال

I'm trying to replace a inetd/xinetd service by a standalone one. What is the simplest I can do this? Is there some standard code to get started?

هل كانت مفيدة؟

المحلول

How does inetd know which process to send incoming data to

It spawns it (typically using fork() followed by exec*()), so it has the process-id.

Is there some standard code to get started?

What about xinetd's sources?

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top