Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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: http://lists.apple.com/mailman/options/macnetworkprog/email@hidden

This email sent to email@hidden
References: 
 >RE: CFReadStream (From: "Patrick Lee" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.