Re: CFStream Problem on Jaguar
Re: CFStream Problem on Jaguar
- Subject: Re: CFStream Problem on Jaguar
- From: Kris Amico <email@hidden>
- Date: Thu, 14 Nov 2002 14:16:41 -0800
I could be wrong here, but I would normally expect anything on top of
sockets to fail if I tried to send more than 32k in one invocation. Is this
what you're doing? If so, you might consider employing buffered transfers
such that less than 32k is sent at a time. I do not know why you would be
experiencing this problem with CFStream and not CFSocket. As far as the
CFNetwork sources are concerned, I don't think they are part of the CFLite
in the repository. They may not be in there at all. If so, I have not seen
them yet.
On 11/13/02 6:13 PM, "Koichiro Mino" <email@hidden> wrote:
>
Hi, all.
>
>
I have an application to send files to printer.
>
It sends data using CFStream.
>
It works fine on OS 10.1.5, but fails on 10.2.
>
>
Printer reports that expected size of data are not sent.
>
Sniffing packets clarified that some part of data were not
>
sent from the host.
>
But, my code finishes the transfer process without error.
>
CFWriteStreamWrite returns exactly the same size
>
as I tried to send, and CFStreamGetError reports no error.
>
>
When I send small size of files(30KB or less), the transfer succeeded.
>
Using BSD socket or CFSocket, everything works fine.
>
Are there any differences between CFStream on 10.1.5 and on 10.2?
>
>
P.S.
>
I downloaded the CoreFoundation project(262) from the Darwin OpenSource,
>
but I can't find CFStream.c in it. Isn't it published?
>
>
>
Regards,
>
K.Mino
>
_______________________________________________
>
macnetworkprog mailing list | email@hidden
>
Help/Unsubscribe/Archives:
>
http://www.lists.apple.com/mailman/listinfo/macnetworkprog
>
Do not post admin requests to the list. They will be ignored.
--
Kris Amico <email@hidden>, AIM: Kris Amico
Senior Software Engineer
Macintosh Client Software Development
EarthLink, Inc.
_______________________________________________
macnetworkprog mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/macnetworkprog
Do not post admin requests to the list. They will be ignored.