Hi,

   Now I have created two threads and want to download files through the method 
below in each thread:

 

1. Create the stream using CFReadStreamCreateWithFTPURL()

2. Set up my callbacks wiht CFReadStreamSetClient()

3. Add it to the run-loop wiht CFReadStreamScheduleWithRunLoop()

4. Open the stream with CFRendStreamOpen()

5. Implement CFRunLoopRun()

 

After done that, I should wait for the first file to be downloaded, then begin 
to download the second file.

 

So my question is ... can these two files download simultaneously in two 
threads?

 

If anyone know any idea, please tell me and I will apprecite for your help.

 

Best Regard.

Chris Wu

 

_________________________________________________________________
Show them the way! Add maps and directions to your party invites. 
http://www.microsoft.com/windows/windowslive/products/events.aspx
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to