On Sun, Sep 14, 2008 at 4:12 PM, John Michael Zorko <[EMAIL PROTECTED]> wrote:
>
> Hello, all ...
>
> I'm trying to launch a thread to connect to a server and stream some data.
>  What i'm seeing is that, while my thread launches, the NSURLConnection
> callbacks are never called, and it's probably some silly thing i'm not
> understanding about ObjC / Cocoa (being an old C / C++ developer):

The API you are using supports async "callbacks" so really don't need
to be firing off a thread as you are. You likely could just use NSApp
managed runloop in the main thread (assuming this is an NSApplication
based application). Just convert things to be event driven.

-Shawn
_______________________________________________

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 [EMAIL PROTECTED]

Reply via email to