From: Ricardo Nabinger Sanchez <rnsanchez@terra.com.br>
To: linux-assembly@vger.kernel.org
Subject: Re: sys_fork
Date: Sun, 27 Nov 2005 17:27:43 -0200 [thread overview]
Message-ID: <20051127172743.587c2c41.rnsanchez@terra.com.br> (raw)
In-Reply-To: <200511271337.56268.hitoc_mail@yahoo.it>
Quoting HIToC <hitoc_mail@yahoo.it>
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.
next prev parent reply other threads:[~2005-11-27 19:27 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-11-26 17:06 sys_fork HIToC
2005-11-26 17:23 ` sys_fork Ricardo Nabinger Sanchez
2005-11-26 19:26 ` sys_fork Claudio Fontana
2005-11-27 18:22 ` sys_fork HIToC
2005-11-27 19:27 ` Ricardo Nabinger Sanchez [this message]
2005-11-28 10:10 ` sys_fork HIToC
2005-11-28 13:48 ` sys_fork Frank Kotler
2005-11-28 19:25 ` sys_fork Ricardo Nabinger Sanchez
2005-11-29 18:59 ` sys_fork HIToC
2005-11-30 0:20 ` sys_fork Ricardo Nabinger Sanchez
2005-11-30 4:00 ` sys_fork Robert Plantz
2005-11-30 10:26 ` sys_fork Ricardo Nabinger Sanchez
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20051127172743.587c2c41.rnsanchez@terra.com.br \
--to=rnsanchez@terra.com.br \
--cc=linux-assembly@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).