Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: Serial Serial Serial
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Serial Serial Serial



Hi,

I wonder if how to deal with all the asynchronous reading and writing I have
been doing with the classic and OT serial code. Is there a away to do
asynchronous write/reads in BSD? Right now, I've been queueing multiple
buffers for read/write. It is not just for high performance, it is necessary
for my application with needs to send/receive streams of voice data to a
voice modem. I wonder if this read/write queueing is available in BSD.

Adam

on 3/14/01 6:05 PM, Quinn at email@hidden wrote:
>
>> Also, I thought the IOKit was just used to *find* the serial ports, and then
>> you used the BSD open/read/write/close to actually use the serial port.
>
> You're correct. That part of the Q&A is slightly out of date. I
> will revise this as soon as I get time [Radar ID 2661427].
>
>> What IOKit routines can you use to send/receive data??
>
> For serial there are no obvious routines to do this. Serial
> currently requires you to use BSD APIs to transfer data.
>
> S+E


References: 
 >Re: Serial Serial Serial (From: Quinn <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.