• 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: NSHost and NSStream question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSHost and NSStream question


  • Subject: Re: NSHost and NSStream question
  • From: Jens Alfke <email@hidden>
  • Date: Thu, 21 Jan 2010 13:37:02 -0800

On Jan 21, 2010, at 6:43 AM, Mathieu Coursolle wrote:

> If I initialize the IP address as 127.0.0.1, or my own 192.168.1.x address, it creates the NSHost and
> NSOutputStream properly, but I always get a connection refused error.

What's the exact error domain and code?

Since SSL is involved, are you sure the server's certificate is acceptable, i.e. unexpired and authorized by a root cert that's known to OS X? (It's possible to get CFNetwork to accept other certs, but you have to set some other properties.)

—Jens_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please 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

  • Follow-Ups:
    • Re: NSHost and NSStream question
      • From: Mathieu Coursolle <email@hidden>
References: 
 >NSHost and NSStream question (From: Mathieu Coursolle <email@hidden>)

  • Prev by Date: Re: Uploading image via HTTP POST
  • Next by Date: Unexpected PDFKit behavior in -[PDFPage string]
  • Previous by thread: NSHost and NSStream question
  • Next by thread: Re: NSHost and NSStream question
  • Index(es):
    • Date
    • Thread