RESOLVED - Re: NSFileHandle throws funky exceptions when writing \n to socket
RESOLVED - Re: NSFileHandle throws funky exceptions when writing \n to socket
- Subject: RESOLVED - Re: NSFileHandle throws funky exceptions when writing \n to socket
- From: Tom Jakubowski <email@hidden>
- Date: Sun, 26 Jun 2005 06:36:18 -0500
On 6/26/05, Tom Jakubowski <email@hidden> wrote:
> On 6/26/05, Tom Jakubowski <email@hidden> wrote:
> > stuff
> more stuff
Well, the problem was in using stringWithUTF8String:. I changed it to
use stringWithCString:encoding: and it now works without a hitch.
The remove host was sending telnet control characters in the string
sent immediately after the client's writing, so I suspect that was
mucking with the stringWithUTF8String and causing it to return nil.
_______________________________________________
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