fetch URLs with cocotron + linux?

27 views
Skip to first unread message

Scott D. Yelich

unread,
Apr 18, 2012, 11:49:46 PM4/18/12
to Cocotron Developers

Hi --

I'm trying to port some simple URL fetch code to use with cocotron
cross compiling for debian 5.0.7.

(1) NSData *stuff = [NSData dataWithContentsOfURL:url];

This hangs ...

(2) NSURLConnection *nsurlc = [NSURLConnection
connectionWithRequest:urlRequest delegate:self];

This does nothing ...

I have the latest cocotron hg pull/update -C etc... as of 18/APR/2012
approx 11pm EST.

Any suggestions on what I could try?

Thanks!

Scott

Tilo Prütz

unread,
Apr 19, 2012, 4:48:57 AM4/19/12
to cocotr...@googlegroups.com
I can confirm (1) and (2). I get log messages like

    NSSocket: could not create pipe: (115) Operation now in progress

When this happens the NSSocket_bsd to be initialized is thrown away. I would not expect any data after this. 
Reply all
Reply to author
Forward
0 new messages