Re: CFReadStream
Re: CFReadStream
- Subject: Re: CFReadStream
- From: Frederick Cheung <email@hidden>
- Date: Mon, 10 Apr 2006 22:44:09 +0100
On 10 Apr 2006, at 22:36, Patrick Lee wrote:
Error code is 32 from CFStreamError when CFReadStreamRead() returns
-1.
Assuming that the domain for those errors is
kCFStreamErrorDomainPOSIX then your error is EPIPE (broken pipe)
Could it be that the server you are connecting to is set to only
allow a certain number of simultaneous connections from a given host?
Fred
-----Original Message-----
From: Frederick Cheung [mailto:email@hidden]
Sent: Monday, April 10, 2006 3:34 PM
To: Patrick Lee
Cc: email@hidden
Subject: Re: CFReadStream
On 10 Apr 2006, at 21:48, Patrick Lee wrote:
> Does the CFNetwork support multiple CFHTTPMessageRef and
> CFReadStreamRef objects to a server at the same time? It seems that
> when multiple read streams are trying to post and read data from
> the same server at the same time, one of them gets CFReadStreamRead
> () errors. Any ideas?
I've definitely done that. What error do you get?
Fred
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden