Re: NetSocket and parse line by line
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