RE: CFReadStream
RE: CFReadStream
- Subject: RE: CFReadStream
- From: "Patrick Lee" <email@hidden>
- Date: Mon, 10 Apr 2006 15:51:41 -0600
- Thread-topic: CFReadStream
Title: RE: CFReadStream
The problem only happens if there is no proxy server between client and server. If there is a proxy server on client, multiple connections to server work fine.
Patrick
-----Original Message-----
From: Frederick Cheung [mailto:email@hidden]
Sent: Monday, April 10, 2006 3:44 PM
To: Patrick Lee
Cc: email@hidden
Subject: Re: CFReadStream
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