Re: [Gambas-user] HttpClient question, now massively parallel!

2011-03-30 Thread Caveat
Thanks Benoit, I knew there had to be a simpler way :-D On Wed, 2011-03-30 at 17:08 +0200, Benoît Minisini wrote: > > Hi Ron_2nd > > > > You're welcome! I made a couple of improvements while I thought of > > them. It's probably better not to add the leading zero to the name of > > the HttpClie

Re: [Gambas-user] HttpClient question

2011-03-30 Thread Benoît Minisini
> I got a curl pipe error, and sent you my test project privately in a sec. > So you can test with my user account. > > Regards, > Ron. > Which error exactly? -- Benoît Minisini -- Create and publish websites with Web

Re: [Gambas-user] HttpClient question

2011-03-30 Thread Ron
I got a curl pipe error, and sent you my test project privately in a sec. So you can test with my user account. Regards, Ron. 2011/3/30 Benoît Minisini : >> It seems that if you call HttpClient twice after each other with >> different urls in async mode, like in example below the _finished event

Re: [Gambas-user] HttpClient question

2011-03-30 Thread Benoît Minisini
> It seems that if you call HttpClient twice after each other with > different urls in async mode, like in example below the _finished event > is only called once (with the last call/url) > > So they are not really async/background, or is this a bug? > Or are they overwritten, due to false usage/c

Re: [Gambas-user] HttpClient question, now massively parallel!

2011-03-30 Thread Benoît Minisini
> Hi Ron_2nd > > You're welcome! I made a couple of improvements while I thought of > them. It's probably better not to add the leading zero to the name of > the HttpClient, so just do something simple like NEW HttpClient AS > "tube" & freeSlot, then your event handling routines can be simply >

Re: [Gambas-user] HttpClient question, now massively parallel!

2011-03-30 Thread Caveat
Hi Ron_2nd You're welcome! I made a couple of improvements while I thought of them. It's probably better not to add the leading zero to the name of the HttpClient, so just do something simple like NEW HttpClient AS "tube" & freeSlot, then your event handling routines can be simply tube0_Finished

Re: [Gambas-user] HttpClient question, now massively parallel!

2011-03-30 Thread Demosthenes Koptsis
As we speak about highlighters there is GeSHi http://qbnz.com/highlighter/ and it supports GAMBAS! Also i found an addon for OO for highlighting COOder http://extensions.services.openoffice.org/node/940 it supports vb and some other. it is based on GeSHi and i hope soon to be updated including

Re: [Gambas-user] HttpClient question, now massively parallel!

2011-03-30 Thread Ron
Hi Caveat, I wanted to create a module for my software so I can fetches sensor data from public pachubes sensors in japen, to get nuclear radiation values. I will adapt your code, thanks! Regards, Ron_2nd. > Hi Ron_2nd, > > Benoit is (need I say it!) 100% correct. > > But I figured out a kind o

Re: [Gambas-user] HttpClient question, now massively parallel!

2011-03-30 Thread Caveat
Hi Ron_2nd, Benoit is (need I say it!) 100% correct. But I figured out a kind of simplistic way to allow you to do your gets in a MASSIVELY PARALLEL fashion... :-D http://pastebin.com/LiY3g4Lt Oh and Rolf, I notice PasteBin has a specific Gambas syntax highlighter already :-D Regards, Caveat

Re: [Gambas-user] HttpClient question

2011-03-29 Thread Benoît Minisini
> It seems that if you call HttpClient twice after each other with > different urls in async mode, like in example below the _finished event > is only called once (with the last call/url) > > So they are not really async/background, or is this a bug? > Or are they overwritten, due to false usage/c

[Gambas-user] HttpClient question

2011-03-28 Thread Ron
It seems that if you call HttpClient twice after each other with different urls in async mode, like in example below the _finished event is only called once (with the last call/url) So they are not really async/background, or is this a bug? Or are they overwritten, due to false usage/code? This