Re: serialPortSample... hang on "read" function
Re: serialPortSample... hang on "read" function
- Subject: Re: serialPortSample... hang on "read" function
- From: Kyle Sluder <email@hidden>
- Date: Tue, 17 Feb 2009 15:27:24 -0500
On Tue, Feb 17, 2009 at 12:52 PM, Boris Prohaska <email@hidden> wrote:
> Is there a way to find out if the cable is connected or the other way... to
> define a timeout, that it will return with an error?
Have you tried select(2)?
--Kyle Sluder
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden