Re: sockets post to url
ah... scratch that, nothing to see here On 02/09/2010, at 5:14 PM, Monte Goulding wrote: Hi I have an app that accepts connections on a socket to sync to an iOS version. post to url works before and after: accept connections on port lPort with message newConnection -- lPort is 8009 as default but user settable until the connections start coming in from the server. To avoid socket timeouts while the user does some licensing stuff the phone repeatedly asks if it's ok to sync and the app either responds with an accept, reject or pending message. While these connections are coming in post to url does not return although it doesn't block the UI either so you can click the button that sends the post again and then it returns immediately with error Previous request not completed as result. The docs say url commands block each other but no mention of other socket connections blocking them too. When the connections stop coming in from the phone (no open sockets but still listening) then post works again but not if you have tried to post to a url while the connections are coming in in which case you still get the error in the result. resetAll (libURLresetAll) does nothing for me. Is this a known bug? Is there a workaround? Cheers Monte___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: sockets post to url
Monte, can you detail how you solved this for future mail list search abilities! :D On Thu, Sep 2, 2010 at 4:27 AM, Monte Goulding mo...@sweattechnologies.comwrote: ah... scratch that, nothing to see here On 02/09/2010, at 5:14 PM, Monte Goulding wrote: Hi I have an app that accepts connections on a socket to sync to an iOS version. post to url works before and after: accept connections on port lPort with message newConnection -- lPort is 8009 as default but user settable until the connections start coming in from the server. To avoid socket timeouts while the user does some licensing stuff the phone repeatedly asks if it's ok to sync and the app either responds with an accept, reject or pending message. While these connections are coming in post to url does not return although it doesn't block the UI either so you can click the button that sends the post again and then it returns immediately with error Previous request not completed as result. The docs say url commands block each other but no mention of other socket connections blocking them too. When the connections stop coming in from the phone (no open sockets but still listening) then post works again but not if you have tried to post to a url while the connections are coming in in which case you still get the error in the result. resetAll (libURLresetAll) does nothing for me. Is this a known bug? Is there a workaround? Cheers Monte___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution -- http://www.andregarzia.com All We Do Is Code. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: sockets post to url
LOL, just a bug in my code mate. Was closing line 1 of the opensockets which was fine when the licensing stuff was happening in a separate process but not when I put it back in the main app ;-) On 03/09/2010, at 12:45 AM, Andre Garzia wrote: Monte, can you detail how you solved this for future mail list search abilities! :D On Thu, Sep 2, 2010 at 4:27 AM, Monte Goulding mo...@sweattechnologies.comwrote: ah... scratch that, nothing to see here On 02/09/2010, at 5:14 PM, Monte Goulding wrote: Hi I have an app that accepts connections on a socket to sync to an iOS version. post to url works before and after: accept connections on port lPort with message newConnection -- lPort is 8009 as default but user settable until the connections start coming in from the server. To avoid socket timeouts while the user does some licensing stuff the phone repeatedly asks if it's ok to sync and the app either responds with an accept, reject or pending message. While these connections are coming in post to url does not return although it doesn't block the UI either so you can click the button that sends the post again and then it returns immediately with error Previous request not completed as result. The docs say url commands block each other but no mention of other socket connections blocking them too. When the connections stop coming in from the phone (no open sockets but still listening) then post works again but not if you have tried to post to a url while the connections are coming in in which case you still get the error in the result. resetAll (libURLresetAll) does nothing for me. Is this a known bug? Is there a workaround? Cheers Monte___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution -- http://www.andregarzia.com All We Do Is Code. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: sockets post to url
Once I built a web server in Rev... for a while, I tried testing it by building a client also in Rev. Now, when everything is running at the same time inside Rev IDE, things can get messy... On Thu, Sep 2, 2010 at 7:03 PM, Monte Goulding mo...@sweattechnologies.comwrote: LOL, just a bug in my code mate. Was closing line 1 of the opensockets which was fine when the licensing stuff was happening in a separate process but not when I put it back in the main app ;-) On 03/09/2010, at 12:45 AM, Andre Garzia wrote: Monte, can you detail how you solved this for future mail list search abilities! :D On Thu, Sep 2, 2010 at 4:27 AM, Monte Goulding mo...@sweattechnologies.comwrote: ah... scratch that, nothing to see here On 02/09/2010, at 5:14 PM, Monte Goulding wrote: Hi I have an app that accepts connections on a socket to sync to an iOS version. post to url works before and after: accept connections on port lPort with message newConnection -- lPort is 8009 as default but user settable until the connections start coming in from the server. To avoid socket timeouts while the user does some licensing stuff the phone repeatedly asks if it's ok to sync and the app either responds with an accept, reject or pending message. While these connections are coming in post to url does not return although it doesn't block the UI either so you can click the button that sends the post again and then it returns immediately with error Previous request not completed as result. The docs say url commands block each other but no mention of other socket connections blocking them too. When the connections stop coming in from the phone (no open sockets but still listening) then post works again but not if you have tried to post to a url while the connections are coming in in which case you still get the error in the result. resetAll (libURLresetAll) does nothing for me. Is this a known bug? Is there a workaround? Cheers Monte___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution -- http://www.andregarzia.com All We Do Is Code. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution -- http://www.andregarzia.com All We Do Is Code. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution