• 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
RESOLVED - Re: NSFileHandle throws funky exceptions when writing \n to socket
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >NSFileHandle throws funky exceptions when writing \n to socket (From: Tom Jakubowski <email@hidden>)
 >Re: NSFileHandle throws funky exceptions when writing \n to socket (From: Tom Jakubowski <email@hidden>)

  • Prev by Date: Re: NSFileHandle throws funky exceptions when writing \n to socket
  • Next by Date: Re: Coredata Abstract Relations
  • Previous by thread: Re: NSFileHandle throws funky exceptions when writing \n to socket
  • Next by thread: Using + as a command key for a NSMenuItem
  • Index(es):
    • Date
    • Thread