Subject: | |
From: | |
Reply To: | |
Date: | Tue, 2 Jan 1996 13:57:19 -0700 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
>Bruce wrote:
>I don't suppose FCONTROL 53 - 'Set Nonblock' would be an answer here by any
>chance? I haven't tried it, but it allegedly will set a file so that it
>will return immediately if there is no data available to read.
Hmmm... I'll try this. I didn't notice it when I was trying to get this
stuff working the last time through.
>When I wrote my TELNET client once-uppon-a-time it appeared that even with
>typeahead turned on there were annoying timing windows where you would still
>lose
>characters if you tried to use the ABORT PENDING NOWAIT I/O fcontrol call to
>let
>you write 'around' a read you had pending on the port.
True; I noticed the same thing.
I think there
>is an ATTACHIO mode that will actually write past a read though.
There is, but it aborts the read and throws away any accumulated data. I'm
not sure this is the desired result.
-- Bruce
---------------------------------------------------------------------------
Bruce Toback Tel: (602) 996-8601| My candle burns at both ends;
OPT, Inc. (800) 858-4507| It will not last the night;
11801 N. Tatum Blvd. Ste. 142 | But ah, my foes, and oh, my friends -
Phoenix AZ 85028 | It gives a lovely light.
[log in to unmask] | -- Edna St. Vincent Millay
|
|
|