• 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: NetSocket and parse line by line
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NetSocket and parse line by line


  • Subject: Re: NetSocket and parse line by line
  • From: Scott Stevenson <email@hidden>
  • Date: Wed, 22 Nov 2006 15:20:13 -0800


On Nov 22, 2006, at 4:02 AM, Hell's KItchen Hell's KItchen wrote:

I've created this code, unfortunatly it does not work well and
sometimes it get wrong results. Anyone can help me? or anyone have a
better code? Thank you very much

NetSocket was written a while ago. The built-in frameworks have improved since then.


You might be happier with NSStream:
<http://developer.apple.com/documentation/Cocoa/Conceptual/Streams/>

There's also CFNetwork at the lower level:
<http://developer.apple.com/documentation/Networking/Conceptual/ CFNetwork/>


The NSStream document above has an example that looks very similar to what you're after.

    - Scott
_______________________________________________

Cocoa-dev mailing list      (email@hidden)

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: 
 >NetSocket and parse line by line (From: "Hell's KItchen Hell's KItchen" <email@hidden>)

  • Prev by Date: Re: Custom Cocoa Views in Interface Builder
  • Next by Date: Re: Custom Cocoa Views in Interface Builder
  • Previous by thread: NetSocket and parse line by line
  • Next by thread: Re: NetSocket and parse line by line
  • Index(es):
    • Date
    • Thread