Re: sys_fork

Ricardo Nabinger Sanchez <[email protected]>
Newsgroups org.kernel.vger.linux-assembly
Message-ID <[email protected]>
Quoting  HIToC <[email protected]>
Sent on  Sun, 27 Nov 2005 19:22:35 +0100

> My problem is to tell the OS to create a new child when
> a connection is established.

you'll have a loop blocking on accept(), with a call to fork() in the
body.  the child will handle the connection, the parent will block again on
accept().

can you give more details on your problem?  where are you stuck?

-- 
Ricardo Nabinger Sanchez
GNU/Linux #140696 [http://counter.li.org]
Slackware Linux + FreeBSD

  Left to themselves, things tend to go from bad to worse.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.