🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.next.programmer
Article #430

Re: Timeouts when reading from a serial port

#430
From: Sean T. Lamont
Date: Tue, 04 Aug 1992 05:36
12 lines
1116 bytes
In article <71tmbc#.abell@netcom.com> abell@netcom.com (Steven T. Abell) writes:
>The read function blocks until it has read enough stuff from the port.
>But if there is nothing out there to respond, the application hangs.

Look at select();


-- 
Sean T. Lamont, Abstract Software        |   "Don't oppress me, It's
zeno@u.washington.edu                    |    'computer of color!' "
Next Mail............................... |  yang.cpac.washington.edu!zebu!zeno 
----------------"My employers opinions are my own, not yours."-----------------
Technical Details
Message-ID: <1992Aug4.053605.11463@u.washington.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!uakari.primate.wisc.edu!usenet.coe.montana.edu!news.u.washington.edu!hardy.u.washington.edu!zeno
References: <71tmbc#.abell@netcom.com>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!uakari.primate.wisc.edu!usenet.coe.montana.edu!news.u.washington.edu!hardy.u.washington.edu!zeno
From: zeno@hardy.u.washington.edu (Sean T. Lamont)
Newsgroups: comp.sys.next.programmer
Subject: Re: Timeouts when reading from a serial port
Keywords: timeout serial port
Message-ID: <1992Aug4.053605.11463@u.washington.edu>
Date: 4 Aug 92 05:36:05 GMT
References: <71tmbc#.abell@netcom.com>
Sender: news@u.washington.edu (USENET News System)
Distribution: na
Organization: Abstract Software
Lines: 12