linux-c-programming.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Ajay Dudani <abdudani@unity.ncsu.edu>
To: Gerald Waugh <gwaugh@frontstreetnetworks.com>
Cc: linux-c-programming@vger.kernel.org
Subject: Re: child processes
Date: Mon, 22 Apr 2002 14:15:45 -0400 (EDT)	[thread overview]
Message-ID: <Pine.GSO.4.44.0204221413330.7621-100000@uni03du.unity.ncsu.edu> (raw)
In-Reply-To: <02042209461600.15975@linux1.fastinc.com>


man select

select allows for "synchronous I/O multiplexing"

"The  functions  select  and  pselect wait for a number of file
descriptors to change status." - man page

You can use these descriptors to be socket fd's

Ajay


On Mon, 22 Apr 2002, Gerald Waugh wrote:

>    I am not doing a good job of explaining my requirements, but I am looking for
>    ideas...
>     I have an assignment to do an applicaiton that must communicate on
>    three different TCP ports...
>    I was wondering if I could run a daemon that would create three child
>    processes, one for each of the tcp ports?
>    Then have the daemon run any time there was communications activity on any of
>    the ports
>    The daemon must translate the data coming in any one of the ports to a protocol
>    acceptable to the port the data is to be sent to.
>    Any ideas?.
>

-- 
Ajay Dudani <abdudani@cs.ncsu.edu>
Graduate Student in Computer Science at NC State University
http://www4.ncsu.edu/~abdudani


      reply	other threads:[~2002-04-22 18:15 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-04-22 13:39 child processes Gerald Waugh
2002-04-22 18:15 ` Ajay Dudani [this message]

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=Pine.GSO.4.44.0204221413330.7621-100000@uni03du.unity.ncsu.edu \
    --to=abdudani@unity.ncsu.edu \
    --cc=gwaugh@frontstreetnetworks.com \
    --cc=linux-c-programming@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).