linux-c-programming.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Lejanson C. Go" <lejanson@ntsp.nec.co.jp>
To: linux-c-programming@vger.kernel.org
Subject: Socket and STDIN pooling
Date: Tue, 14 Feb 2006 14:26:33 +0900	[thread overview]
Message-ID: <43F16A09.8070807@hq.ntsp.nec.co.jp> (raw)

Hi,

I have a question about pooling 2 sockets and stdin.
I am currently making an application which accepts
input from the stdin.

It had a connection to a server connecting to 2ports.
If for example the stdin is a blocking descriptor and
the 2 other descriptors are to be checked real time
how can it be done without using threads?


Lejanson

-- 
"The masses of people lead lives of quiet desperation,
           because they lack a sound plan
       through which to accumulate a fortune."
         -Napoleon Hill, Think and Grow Rich


             reply	other threads:[~2006-02-14  5:26 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-02-14  5:26 Lejanson C. Go [this message]
2006-02-14  6:36 ` Socket and STDIN pooling Steve Graegert
2006-02-15  5:28   ` Ron Michael Khu
2006-02-15  5:46     ` Ron Michael Khu

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=43F16A09.8070807@hq.ntsp.nec.co.jp \
    --to=lejanson@ntsp.nec.co.jp \
    --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).