• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: CFStream Problem on Jaguar
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >CFStream Problem on Jaguar (From: "Koichiro Mino" <email@hidden>)

  • Prev by Date: USB Network Device
  • Next by Date: Re: CFStream Problem on Jaguar
  • Previous by thread: CFStream Problem on Jaguar
  • Next by thread: Re: CFStream Problem on Jaguar
  • Index(es):
    • Date
    • Thread