Re: NSHost and NSStream question
Re: NSHost and NSStream question
- Subject: Re: NSHost and NSStream question
- From: Mathieu Coursolle <email@hidden>
- Date: Fri, 22 Jan 2010 09:07:51 -0500
Hi,
I finally fixed my problem. The server was not opening the port properly, so the client could not connect.
It as error 61 of POSIX domain.
Seems to work fine now.
Thanks,
Mathieu
On 2010-01-21, at 4:37 PM, Jens Alfke wrote:
>
> 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