Sat Oct 9 16:50:37 2004 e.s.t
EVENTS
 FREE
SOFTWARE
INSTITUTE

POLITICS
JOBS
MEMBERS'
CORNER

MAILING
LIST

NYLXS Mailing Lists and Archives
NYLXS Members have a lot to say and share but we don't keep many secrets. Join the Hangout Mailing List and say your peice.
2013-05-25 | 2013-04-25 | 2013-03-25 | 2013-02-25 | 2013-01-25 | 2012-12-25 | 2012-11-25 | 2012-10-25 | 2012-09-25 | 2012-08-25 | 2012-07-25 | 2012-06-25 | 2012-05-25 | 2012-04-25 | 2012-03-25 | 2012-02-25 | 2012-01-25 | 2011-12-25 | 2011-11-25 | 2011-10-25 | 2011-09-25 | 2011-08-25 | 2011-07-25 | 2011-06-25 | 2011-05-25 | 2011-04-25 | 2011-03-25 | 2011-02-25 | 2011-01-25 | 2010-12-25 | 2010-11-25 | 2010-10-25 | 2010-09-25 | 2010-08-25 | 2010-07-25 | 2010-06-25 | 2010-05-25 | 2010-04-25 | 2010-03-25 | 2010-02-25 | 2010-01-25 | 2009-12-25 | 2009-11-25 | 2009-10-25 | 2009-09-25 | 2009-08-25 | 2009-07-25 | 2009-06-25 | 2009-05-25 | 2009-04-25 | 2009-03-25 | 2009-02-25 | 2009-01-25 | 2008-12-25 | 2008-11-25 | 2008-10-25 | 2008-09-25 | 2008-08-25 | 2008-07-25 | 2008-06-25 | 2008-05-25 | 2008-04-25 | 2008-03-25 | 2008-02-25 | 2008-01-25 | 2007-12-25 | 2007-11-25 | 2007-10-25 | 2007-09-25 | 2007-08-25 | 2007-07-25 | 2007-06-25 | 2007-05-25 | 2007-04-25 | 2007-03-25 | 2007-02-25 | 2007-01-25 | 2006-12-25 | 2006-11-25 | 2006-10-25 | 2006-09-25 | 2006-08-25 | 2006-07-25 | 2006-06-25 | 2006-05-25 | 2006-04-25 | 2006-03-25 | 2006-02-25 | 2006-01-25 | 2005-12-25 | 2005-11-25 | 2005-10-25 | 2005-09-25 | 2005-08-25 | 2005-07-25 | 2005-06-25 | 2005-05-25 | 2005-04-25 | 2005-03-25 | 2005-02-25 | 2005-01-25 | 2004-12-25 | 2004-11-25 | 2004-10-25 | 2004-09-25 | 2004-08-25 | 2004-07-25 | 2004-06-25 | 2004-05-25 | 2004-04-25 | 2004-03-25 | 2004-02-25 | 2004-01-25 | 2003-12-25 | 2003-11-25 | 2003-10-25 | 2003-09-25 | 2003-08-25 | 2003-07-25 | 2003-06-25 | 2003-05-25 | 2003-04-25 | 2003-03-25 | 2003-02-25 | 2003-01-25 | 2002-12-25 | 2002-11-25 | 2002-10-25 | 2002-09-25 | 2002-08-25 | 2002-07-25 | 2002-06-25 | 2002-05-25 | 2002-04-25 | 2002-03-25 | 2002-02-25 | 2002-01-25 | 2001-12-25 | 2001-11-25 | 2001-10-25 | 2001-09-25 | 2001-08-25 | 2001-07-25 | 2001-06-25 | 2001-05-25 | 2001-04-25 | 2001-03-25 | 2001-02-25 | 2001-01-25 | 2000-12-25 | 2000-11-25 | 2000-10-25 | 2000-09-25 | 2000-08-25 | 2000-07-25 | 2000-06-25 | 2000-05-25 | 2000-04-25 | 2000-03-25 | 2000-02-25 | 2000-01-25 | 1999-12-25

Key: archive Value: 2005-02-01

Key: id Value: 506461

MESSAGE
DATE 2005-02-11
FROM From: "Martin, Jared"
SUBJECT Subject: [hangout] Monitoring input in simple chat exercise.
From owner-hangouts-destenys-at-mrbrklyn.com Fri Feb 11 18:57:42 2005
X-UIDL: `GP"!O,O!!_28!!4o?"!
Received: from www2.mrbrklyn.com (LOCALHOST [127.0.0.1])
by mrbrklyn.com (8.12.11/8.11.2/SuSE Linux 8.11.1-0.5) with ESMTP id j1BNvgp3014934
for ; Fri, 11 Feb 2005 18:57:42 -0500
Received: (from mdom-at-localhost)
by www2.mrbrklyn.com (8.12.11/8.12.3/Submit) id j1BNvgXo014933
for hangouts-destenys; Fri, 11 Feb 2005 18:57:42 -0500
X-Authentication-Warning: www2.mrbrklyn.com: mdom set sender to owner-hangouts-at-www2.mrbrklyn.com using -f
Received: from DGEXCHANGE03.DGLAW.COM (exchange.dglaw.com [216.91.14.105])
by mrbrklyn.com (8.12.11/8.11.2/SuSE Linux 8.11.1-0.5) with ESMTP id j1BNvgud014928
for ; Fri, 11 Feb 2005 18:57:42 -0500
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
charset="utf-8"
X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0
Subject: [hangout] Monitoring input in simple chat exercise.
Date: Fri, 11 Feb 2005 18:58:23 -0500
Message-ID: <9A6B8130C7F3BD49AC80282BE493A7DB262CD1-at-DGEXCHANGE03.DGLAW.COM>
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
Thread-Topic: Monitoring input in simple chat exercise.
Thread-Index: AcUQlZHveMigGROtTLanpYFo8ZQ+2Q==
From: "Martin, Jared"
To:
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from base64 to 8bit by mrbrklyn.com id j1BNvgud014928
Sender: owner-hangouts-at-mrbrklyn.com
Precedence: bulk
Reply-To: "Martin, Jared"
List: New Yorker GNU Linux Scene
Admin: To unsubscribe send unsubscribe name-at-domian.com in the body to hangout-request-at-www2.mrbrklyn.com
X-Spam-Checker-Version: SpamAssassin 3.0.0 (2004-09-13) on www2.mrbrklyn.com
X-Spam-Status: No, score=-0.8 required=4.0 tests=AWL autolearn=failed
version=3.0.0
X-Spam-Level:
X-Keywords:
X-UID: 38407
Status: RO
Content-Length: 1056
Lines: 29


I'm working on creating a simple chat program to get my feet wet in c.

I've been told its better to avoid threads, so I'm using select to monitor multiple connections from clients.

How do I get the client to check for new data on both the network conn as well as input from the user without having one block the other?

Should I use select on the client too or is there a better way of doing it. Perhaps recv with peek would work to check the socket, but I've not yet figured out how to receive input from the user without blocking and without checking for individual keystrokes.

Suggestions/Links/Code would be very greatly appreciated.

Sincerely,
*****************************
Jared Martin
IT Desktop Support
Davis & Gilbert LLP
1740 Broadway
New York, NY 10019
Help Desk: 212-237-1500
Office: 212-237-1504
Cell: 646-773-4138
Fax: (212) 974-7023
*************************************

____________________________
NYLXS: New Yorker Free Software Users Scene
Fair Use -
because it's either fair use or useless....
NYLXS is a trademark of NYLXS, Inc

  1. 2005-02-01 From: "Steve Milo" <slavik914-at-mrbrklyn.com> Re: [hangout] Memory management
  2. 2005-02-01 Ruben Safir Secretary NYLXS <ruben-at-mrbrklyn.com> Re: [hangout] Memory management
  3. 2005-02-01 Billy <billy-at-dadadada.net> Re: [hangout] Memory management
  4. 2005-02-01 Billy <billy-at-dadadada.net> Re: [hangout] Memory management
  5. 2005-02-01 From: "Steve Milo" <slavik914-at-mrbrklyn.com> Subject: [hangout] Internship.
  6. 2005-02-01 From: "Steve Milo" <slavik914-at-mrbrklyn.com> Subject: [hangout] Memory management
  7. 2005-02-01 From: "Michael L. Richardson" <mlr52-at-michaellrichardson.com> Subject: [hangout] move
  8. 2005-02-02 From: "Martin, Jared" <JMartin-at-dglaw.com> Fw: [hangout] Future might be looking brighter
  9. 2005-02-02 From: "P.Robert Marino" <rob-at-concord-hs.org> Subject: [hangout] [Fwd: [TechForum] TechToGo IV]
  10. 2005-02-05 swd <sderrick-at-optonline.net> Subject: [hangout] Linux? What? www.linuxgoldcorp.com !!!
  11. 2005-02-07 From: "Inker, Evan" <EInker-at-gam.com> Subject: [hangout] Part I: Corporate Desktop Linux - The Hard Truth
  12. 2005-02-07 From: "Inker, Evan" <EInker-at-gam.com> Subject: [hangout] Slackware 10.01 Released
  13. 2005-02-08 Ruben Safir <ruben-at-mrbrklyn.com> Re: [hangout] mySQL dB Setup
  14. 2005-02-08 From: "rc" <ray-pub-at-rcn.com> Subject: [hangout] mySQL dB Setup
  15. 2005-02-08 From: "Steve Milo" <slavik914-at-mrbrklyn.com> Subject: [hangout] Perl and stacks
  16. 2005-02-09 Ruben Safir <ruben-at-mrbrklyn.com> Subject: [hangout] Crossfire Server
  17. 2005-02-09 From: "Steve Milo" <slavik914-at-mrbrklyn.com> Subject: [hangout] Re: [NMLUG] Python tight loop causing massive CPU barfage
  18. 2005-02-10 From: "Inker, Evan" <EInker-at-gam.com> Subject: [hangout] Judge slams SCO's lack of evidence against IBM
  19. 2005-02-11 Ruben Safir <ruben-at-mrbrklyn.com> Re: [hangout] Monitoring input in simple chat exercise.
  20. 2005-02-11 Billy <billy-at-dadadada.net> Re: [hangout] Monitoring input in simple chat exercise.
  21. 2005-02-11 From: "Martin, Jared" <JMartin-at-dglaw.com> Subject: [hangout] Monitoring input in simple chat exercise.
  22. 2005-02-11 knodom <knodom-at-shakescene.com> Subject: [hangout] Unheeded Warnings
  23. 2005-02-11 Ruben Safir Secretary NYLXS <ruben-at-mrbrklyn.com> Subject: [hangout] [Victor.Ortega-Mangan-at-newcastle.ac.uk: hangout]
  24. 2005-02-12 Ruben Safir <ruben-at-mrbrklyn.com> Re: [hangout] Monitoring input in simple chat exercise.
  25. 2005-02-12 Billy <billy-at-dadadada.net> Re: [hangout] Monitoring input in simple chat exercise.
  26. 2005-02-12 Billy <billy-at-dadadada.net> Re: [hangout] Monitoring input in simple chat exercise.
  27. 2005-02-12 Ron Guerin <ron-at-vnetworx.net> Re: [hangout] Monitoring input in simple chat exercise.
  28. 2005-02-12 From: "Martin, Jared" <JMartin-at-dglaw.com> Re: [hangout] Monitoring input in simple chat exercise.
  29. 2005-02-12 From: "Steve Milo" <slavik914-at-mrbrklyn.com> Re: [hangout] Monitoring input in simple chat exercise.
  30. 2005-02-12 From: "Martin, Jared" <JMartin-at-dglaw.com> Re: [hangout] Monitoring input in simple chat exercise.
  31. 2005-02-12 From: "Martin, Jared" <JMartin-at-dglaw.com> Subject: [hangout] Could anyone help me find pricing for the offered classes?
  32. 2005-02-13 Ruben Safir <ruben-at-mrbrklyn.com> Re: [hangout] Unheeded Warnings
  33. 2005-02-13 dspira-at-att.net Re: [hangout] Unheeded Warnings
  34. 2005-02-13 Ruben Safir <ruben-at-mrbrklyn.com> Re: [hangout] Unheeded Warnings
  35. 2005-02-13 Billy <billy-at-dadadada.net> Re: [hangout] Unheeded Warnings
  36. 2005-02-13 Billy <billy-at-dadadada.net> Re: [hangout] Unheeded Warnings
  37. 2005-02-13 Ruben Safir Secretary NYLXS <ruben-at-mrbrklyn.com> Re: [hangout] Unheeded Warnings
  38. 2005-02-14 Ruben Safir Secretary NYLXS <ruben-at-mrbrklyn.com> Re: [hangout] Numnut Spammer with an open box at 69.50.209.126
  39. 2005-02-14 Ruben Safir Secretary NYLXS <ruben-at-mrbrklyn.com> Re: [hangout] Unheeded Warnings
  40. 2005-02-14 Ruben Safir Secretary NYLXS <ruben-at-mrbrklyn.com> Re: [hangout] Unheeded Warnings
  41. 2005-02-14 Ruben Safir Secretary NYLXS <ruben-at-mrbrklyn.com> Re: [hangout] Unheeded Warnings
  42. 2005-02-14 dspira-at-att.net (Dave_att) Re: [hangout] Unheeded Warnings
  43. 2005-02-14 Ruben Safir Secretary NYLXS <ruben-at-mrbrklyn.com> Re: [hangout] Unheeded Warnings
  44. 2005-02-14 dspira-at-att.net (Dave_att) Re: [hangout] Unheeded Warnings
  45. 2005-02-14 Billy <billy-at-dadadada.net> Re: [hangout] Unheeded Warnings
  46. 2005-02-14 Ruben Safir <ruben-at-mrbrklyn.com> Re: [hangout] Unheeded Warnings
  47. 2005-02-14 Ruben Safir Secretary NYLXS <ruben-at-mrbrklyn.com> Subject: [hangout] Crossfire Client
  48. 2005-02-14 From: "Inker, Evan" <EInker-at-gam.com> Subject: [hangout] First National Bank of Omaha throws Sun out
  49. 2005-02-14 From: "Inker, Evan" <EInker-at-gam.com> Subject: [hangout] Microsoft Tries New Pitch to Curb Linux Use
  50. 2005-02-14 Ruben Safir Secretary NYLXS <ruben-at-mrbrklyn.com> Subject: [hangout] Numnut Spammer with an open box at 69.50.209.126
  51. 2005-02-15 swd <sderrick-at-optonline.net> Subject: [hangout] FW: Open Circulation Edition Free Internet Voice Calls Firefox
  52. 2005-02-16 Ruben Safir Secretary NYLXS <ruben-at-mrbrklyn.com> Re: [hangout] References and pointers.
  53. 2005-02-16 Ruben Safir Secretary NYLXS <ruben-at-mrbrklyn.com> Re: [hangout] wblogs are BS
  54. 2005-02-16 Billy <billy-at-dadadada.net> Re: [hangout] wblogs are BS
  55. 2005-02-16 Ruben Safir Secretary NYLXS <ruben-at-mrbrklyn.com> Re: [hangout] wblogs are BS
  56. 2005-02-16 Billy <billy-at-dadadada.net> Re: [hangout] wblogs are BS
  57. 2005-02-16 Ruben Safir Secretary NYLXS <ruben-at-mrbrklyn.com> Re: [hangout] wblogs are BS
  58. 2005-02-16 Ruben Safir Secretary NYLXS <ruben-at-mrbrklyn.com> Re: [hangout] wblogs are BS
  59. 2005-02-16 Billy <billy-at-dadadada.net> Re: [hangout] wblogs are BS
  60. 2005-02-16 Ruben Safir Secretary NYLXS <ruben-at-mrbrklyn.com> Re: [hangout] wblogs are BS
  61. 2005-02-16 Ruben Safir Secretary NYLXS <ruben-at-mrbrklyn.com> Re: [hangout] wblogs are BS
  62. 2005-02-16 From: "Steve Milo" <slavik914-at-mrbrklyn.com> Re: [hangout] wblogs are BS
  63. 2005-02-16 Billy <billy-at-dadadada.net> Re: [hangout] wblogs are BS
  64. 2005-02-16 From: "Steve Milo" <slavik914-at-mrbrklyn.com> Subject: [hangout] References and pointers.
  65. 2005-02-16 Ruben Safir <ruben-at-mrbrklyn.com> Subject: [hangout] wblogs are BS
  66. 2005-02-17 From: "Martin, Jared" <JMartin-at-dglaw.com> FW: [hangout] meeting up
  67. 2005-02-17 From: "Steve Milo" <slavik914-at-mrbrklyn.com> Re: [hangout] meeting up
  68. 2005-02-17 From: "Steve Milo" <slavik914-at-mrbrklyn.com> Re: [hangout] meeting up
  69. 2005-02-17 swd <sderrick-at-optonline.net> Re: [hangout] Re: [nylug-talk] recycling and clustering...
  70. 2005-02-17 swd <sderrick-at-optonline.net> Re: [hangout] [ashv-at-kingsgames.com: Kings Games]
  71. 2005-02-17 From: "Victor.Ortega" <Victor.Ortega-Mangan-at-newcastle.ac.uk> Subject: [hangout] meeting up
  72. 2005-02-17 From: "Victor.Ortega" <Victor.Ortega-Mangan-at-newcastle.ac.uk> Subject: [hangout] meeting up on the 24th - confirmation!
  73. 2005-02-17 Ruben Safir Secretary NYLXS <ruben-at-mrbrklyn.com> Subject: [hangout] [ashv-at-kingsgames.com: Kings Games]
  74. 2005-02-18 Billy <billy-at-dadadada.net> Re: [hangout] Need a copy of 9.2 both 64 and 32.
  75. 2005-02-18 swd <sderrick-at-optonline.net> Re: [hangout] [ashv-at-kingsgames.com: Kings Games]
  76. 2005-02-18 Adam Kosmin <akosmin-at-nyc.rr.com> Subject: [hangout] RMS article
  77. 2005-02-19 Ruben Safir Secretary NYLXS <ruben-at-mrbrklyn.com> Re: [hangout] [ashv-at-kingsgames.com: Kings Games]
  78. 2005-02-19 Ruben Safir Secretary NYLXS <ruben-at-mrbrklyn.com> Subject: [hangout] bash and mail
  79. 2005-02-19 From: "Martin, Jared" <JMartin-at-dglaw.com> Subject: [hangout] Video drivers on suse3.2
  80. 2005-02-20 Billy <billy-at-dadadada.net> Re: [hangout] bash and mail
  81. 2005-02-21 Billy <billy-at-dadadada.net> Re: [hangout] bash and mail
  82. 2005-02-21 Matthew Hirsch <mph-at-dorsai.org> Re: [hangout] bash and mail
  83. 2005-02-22 From: "Inker, Evan" <EInker-at-gam.com> RE: [Fwd: [hangout] meeting up on the 24th - confirmation!]
  84. 2005-02-22 From: "Martin, Jared" <JMartin-at-dglaw.com> Re: [Fwd: [hangout] meeting up on the 24th - confirmation!]
  85. 2005-02-22 From: "Victor.Ortega" <Victor.Ortega-Mangan-at-newcastle.ac.uk> Subject: [Fwd: [hangout] meeting up on the 24th - confirmation!]
  86. 2005-02-22 From: "Inker, Evan" <EInker-at-gam.com> Subject: [hangout] Dice.Com Says Linux Career Paths Remain Strong
  87. 2005-02-22 From: "Inker, Evan" <EInker-at-gam.com> Subject: [hangout] FW: LinuxWorld Summit New York: Registration is Open! Register to day
  88. 2005-02-22 From: "Inker, Evan" <EInker-at-gam.com> Subject: [hangout] VectorLinux 5.0 SOHO released (Based on Slackware 10.1)
  89. 2005-02-23 Ruben Safir Secretary NYLXS <ruben-at-mrbrklyn.com> Re: [hangout] Realizing the meaning of GPL software.
  90. 2005-02-23 Ruben Safir Secretary NYLXS <ruben-at-mrbrklyn.com> Re: [hangout] Realizing the meaning of GPL software.
  91. 2005-02-23 dspira-at-att.net (Dave_att) Re: [hangout] VectorLinux 5.0 SOHO released (Based on Slackware 10.1)
  92. 2005-02-23 From: "Steve Milo" <slavik914-at-mrbrklyn.com> Subject: [hangout] Fw: College Board Schools recruiting teachers, guidance counselors, s ocial workers, paraprofessionals and secretaries
  93. 2005-02-23 From: "Steve Milo" <slavik914-at-mrbrklyn.com> Subject: [hangout] Realizing the meaning of GPL software.
  94. 2005-02-24 Matthew <mph-at-dorsai.org> Re: [hangout] Linux LiveCD Roundup
  95. 2005-02-24 From: "Steve Milo" <slavik914-at-mrbrklyn.com> Re: [hangout] Realizing the meaning of GPL software.
  96. 2005-02-24 From: "Inker, Evan" <EInker-at-gam.com> Subject: [hangout] Linux LiveCD Roundup
  97. 2005-02-24 From: "Inker, Evan" <EInker-at-gam.com> Subject: [hangout] NYLXS Meeting Cancelled for tonight
  98. 2005-02-24 From: "Victor.Ortega" <Victor.Ortega-Mangan-at-newcastle.ac.uk> Subject: [hangout] Open Invite
  99. 2005-02-24 Ruben Safir Secretary NYLXS <ruben-at-mrbrklyn.com> Subject: [hangout] The Future of NYC
  100. 2005-02-24 Ruben Safir Secretary NYLXS <ruben-at-mrbrklyn.com> Subject: [hangout] [bruce.lai-at-council.nyc.ny.us: REVISED: Upcoming hearings by the Committee on Technology in Government of the New York City Council (as of 2.24.05).]
  101. 2005-02-25 From: "Inker, Evan" <EInker-at-gam.com> RE: [hangout] Linux LiveCD Roundup
  102. 2005-02-26 Ruben Safir Secretary NYLXS <ruben-at-mrbrklyn.com> Subject: [hangout] Movie Tonight?
  103. 2005-02-27 Ruben Safir <ruben-at-mrbrklyn.com> Re: [hangout] Wanted Add - Female replies ONLY
  104. 2005-02-27 Ron Guerin <ron-at-vnetworx.net> Re: [hangout] Wanted Add - Female replies ONLY
  105. 2005-02-27 Ruben Safir <ruben-at-mrbrklyn.com> Subject: [hangout] Autobiography of the Next President of NYLXS
  106. 2005-02-27 Ruben Safir <ruben-at-mrbrklyn.com> Subject: [hangout] Wanted Add - Female replies ONLY
  107. 2005-02-28 From: "Inker, Evan" <EInker-at-gam.com> Subject: [hangout] DistroWatch Weekly, Issue 89, 28 February 2005
  108. 2005-02-28 From: "Inker, Evan" <EInker-at-gam.com> Subject: [hangout] Q&A: Author of Dude, Did I Steal Your Job? sounds off
  109. 2005-02-28 Ruben Safir Secretary NYLXS <ruben-at-mrbrklyn.com> Subject: [hangout] [meissner-at-suse.de: [suse-security-announce] SUSE Security Announcement: curl buffer overflow in NTLM authentication (SUSE-SA:2005:011)]
  110. 2005-02-28 Ruben Safir Secretary NYLXS <ruben-at-mrbrklyn.com> Subject: [hangout] [will_edit_for_food-at-mac.com: Upcoming FCC ruling]

NYLXS are Do'ers and the first step of Doing is Joining! Join NYLXS and make a difference in your community today!