• 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: Audio file download over HTTP issue!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Audio file download over HTTP issue!


  • Subject: Re: Audio file download over HTTP issue!
  • From: "Ulhas Morbale" <email@hidden>
  • Date: Mon, 22 Oct 2007 18:40:13 +0530

Thanks All



Ulhas Morbale


----- Original Message -----
From: "Frederick Cheung" <email@hidden>
To: "Ulhas Morbale" <email@hidden>
Cc: "Andy Cave" <email@hidden>; <email@hidden>
Sent: Monday, October 22, 2007 6:37 PM
Subject: Re: Audio file download over HTTP issue!


>
> On 22 Oct 2007, at 14:03, Ulhas Morbale wrote:
>
> > then how will I came to know that all the data is read from the
> > server.
> >
> > Is there any function to find out the size of the file on the
> > server, so
> > that I terminate the do-while loop.
> >
>
> You wait until CFReadStreamRead returns 0 .
>
> Fred
> > Thanks,
> > Ulhas Morbale
> >
> > ----- Original Message -----
> > From: "Andy Cave" <email@hidden>
> > To: "Ulhas Morbale" <email@hidden>; "Frederick
> > Cheung"
> > <email@hidden>
> > Cc: <email@hidden>
> > Sent: Monday, October 22, 2007 6:26 PM
> > Subject: Re: Audio file download over HTTP issue!
> >
> >
> >> Yes - because when you run debug code, or are in the debugger,
> >> lots of
> > data
> >> comes across the network and gets cached by the OS. So you always
> >> read
> > large
> >> amounts.
> >>
> >> The previous poster was likely 99.999...% spot on. Don't assume
> >> you'll
> >> always get the amount your buffer size is that you request. Then
> >> your code
> >> will work (if you change it thus).
> >>
> >> Andy.
> >>
> >> ----- Original Message -----
> >> From: "Ulhas Morbale" <email@hidden>
> >> To: "Frederick Cheung" <email@hidden>
> >> Cc: <email@hidden>
> >> Sent: Monday, October 22, 2007 1:53 PM
> >> Subject: Re: Audio file download over HTTP issue!
> >>
> >>
> >>> But I am getting whole data when I debug my code.
> >>>
> >>> Any more clue(s).
> >>>
> >>> Thanks,
> >>> Ulhas Morbale
> >>>
> >>> _______________________________________________
> >>> Do not post admin requests to the list. They will be ignored.
> >>> Macnetworkprog mailing list      (email@hidden)
> >>> Help/Unsubscribe/Update your Subscription:
> >>>
> > 40hamillroad.com
> >>>
> >>> This email sent to email@hidden
> >>
> >>
> >>
> >>
> >
> >  _______________________________________________
> > Do not post admin requests to the list. They will be ignored.
> > Macnetworkprog mailing list      (email@hidden)
> > Help/Unsubscribe/Update your Subscription:
> > email@hidden
> >
> > This email sent to email@hidden
>
>
>

 _______________________________________________
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

References: 
 >Audio file download over HTTP issue! (From: "Ulhas Morbale" <email@hidden>)
 >Re: Audio file download over HTTP issue! (From: Frederick Cheung <email@hidden>)
 >Re: Audio file download over HTTP issue! (From: "Ulhas Morbale" <email@hidden>)
 >Re: Audio file download over HTTP issue! (From: "Andy Cave" <email@hidden>)
 >Re: Audio file download over HTTP issue! (From: "Ulhas Morbale" <email@hidden>)
 >Re: Audio file download over HTTP issue! (From: Frederick Cheung <email@hidden>)

  • Prev by Date: Re: Audio file download over HTTP issue!
  • Next by Date: Re: Audio file download over HTTP issue!
  • Previous by thread: Re: Audio file download over HTTP issue!
  • Next by thread: Re: Audio file download over HTTP issue!
  • Index(es):
    • Date
    • Thread