Hi Mark! On 03/23/2015 07:56 PM, Mark Simpson wrote: > Hi, > > Firstly, thanks for the reply & for fixing those warnings. > > In response to your question: > I have tried to use the lib (I mentioned this in the original post, but > should've stated it more prominently) and not much is working. I've > tried three things so far: >
Oh, looks like I missed that, sorry! > 1. Running an idle loop that spams to the console > > Result: I can run the idle loop & print stuff just fine. > Ok, basics work then. > > 2. The libuv socket example > (http://nikhilm.github.io/uvbook/networking.html). I'm just creating a > socket server then connecting to it via my mac's terminal & netcat (this > is something we do for our development builds with a non-libuv socket > server, so I'm fairly sure the connection/network configuration is > correct when using nc). > > Result: I can't connect. uv_listen returns -13 (*Listen error > permission denied*). > Are you using a port lower than 1024? Errno 13 is EACCESS. > > 3. A libcurl / libuv test program (basically > this: > https://raw.githubusercontent.com/bagder/curl/master/docs/examples/multi-uv.c > but > using callbacks for the write -- I have the same example working on iOS) > > Result: Some of the plumbing appears to trigger. The curl socket > callbacks don't trigger, but my requests come through as completing, > but with no valid information (e.g. after I receive > a CURLMSG_DONE message, curl_easy_getinfo(easy_handle, *....*) > doesn't tell me anything, as the out pointers are left unchanged). > I'll dig into debugging this a bit more tomorrow and let you know > what is/isn't triggered. > > > Tomorrow, I will try to cut down my example programs to a bare minimum > then attach them to this thread. Also, do you have any suggestions for > simple scenarios that would aid in diagnosing the problem? If there's > anything I can do to provide better information, I will get onto that > tomorrow. > I'd first try to get a basic TCP server working on Android. AFAIK, libuv does work on it so it might just be a tiny thing we need to tweak. Cheers, -- Saúl Ibarra Corretgé bettercallsaghul.com -- You received this message because you are subscribed to the Google Groups "libuv" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/libuv. For more options, visit https://groups.google.com/d/optout.
signature.asc
Description: OpenPGP digital signature
