• 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: Working with modem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Working with modem


  • Subject: Re: Working with modem
  • From: Yann Bizeul <email@hidden>
  • Date: Thu, 23 Feb 2006 22:45:14 +0100

Using NSFileHandle will eliminate the freeze (That's what I do)
I think this is the time needed by the kernel to load and initialize the modem .kext on the flight.



Yann Bizeul • yann at tynsoe.org Cocoa Developer

Tynsoe Projects
BuddyPop • GeekTool • SSH Tunnel Manager • ...
http://projects.tynsoe.org/


Le 23 févr. 06 à 19:46, Vasya Danylyshyn a écrit :

Hello!

When i open modems port with
open("/dev/cu.modem",O_RDWR | O_NOCTTY | O_NONBLOCK)
function, my program freeze on 4 second. Why ?! How i can eliminate this pause?


Vasya Danylyshyn

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden

_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >Working with modem (From: Vasya Danylyshyn <email@hidden>)

  • Prev by Date: Re: Fetch Requests and NSDecimalNumbers
  • Next by Date: Re: Addendum: Fetch Requests and NSDecimalNumbers --> Fetch on Transient Values
  • Previous by thread: Working with modem
  • Next by thread: Fetch Requests and NSDecimalNumbers
  • Index(es):
    • Date
    • Thread