linux-c-programming.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Socket and STDIN pooling
@ 2006-02-14  5:26 Lejanson C. Go
  2006-02-14  6:36 ` Steve Graegert
  0 siblings, 1 reply; 4+ messages in thread
From: Lejanson C. Go @ 2006-02-14  5:26 UTC (permalink / raw)
  To: linux-c-programming

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2006-02-15  5:46 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-02-14  5:26 Socket and STDIN pooling Lejanson C. Go
2006-02-14  6:36 ` Steve Graegert
2006-02-15  5:28   ` Ron Michael Khu
2006-02-15  5:46     ` Ron Michael Khu

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).