• 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: How to maintain the socket connection in open status and send datas repeatedly
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to maintain the socket connection in open status and send datas repeatedly


  • Subject: Re: How to maintain the socket connection in open status and send datas repeatedly
  • From: Jens Alfke <email@hidden>
  • Date: Tue, 25 Aug 2009 10:01:29 -0700

This isn't directly related to the bug in your code (which Jeremy's already pointed out), but you could use the NSStream class instead of the CFStream API and make your code a lot simpler & cleaner.

—Jens

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


References: 
 >How to maintain the socket connection in open status and send datas repeatedly (From: email@hidden)

  • Prev by Date: Re: How to maintain the socket connection in open status and send datas repeatedly
  • Next by Date: Re: How to maintain the socket connection in open status and send datas repeatedly
  • Previous by thread: Re: How to maintain the socket connection in open status and send datas repeatedly
  • Next by thread: CFHTTPStream returns long error code (EAI_NONAME?)
  • Index(es):
    • Date
    • Thread