• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: serialPortSample... hang on "read" function
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >serialPortSample... hang on "read" function (From: Boris Prohaska <email@hidden>)

  • Prev by Date: Re: sticky video/audio files in NSTextView with GC on
  • Next by Date: Re: NSNetService & NSURLConnection on Tiger
  • Previous by thread: Re: serialPortSample... hang on "read" function
  • Next by thread: NSNetService & NSURLConnection on Tiger
  • Index(es):
    • Date
    • Thread