Ok... so...
If I do it the way listed below, everything is cool. If, however, I'm
waiting for a result, then it goes back to the way it was before. So, it
seems that it has nothing to do with waiting for a string, but rather
the result in general.
So this:
dim h as new HTTPSocket
dim da
Immutable strings.(?)
Mark
On Nov 19, 2006, at 1:48 PM, Fargo Holiday wrote:
Solved it!
I was thinking to myself how odd it was to try and save that data
to a string. So, I added this to a button:
dim h as new HTTPSocket
dim data as FolderItem
data = GetFolderItem("downer.rar")
h.get("
Solved it!
I was thinking to myself how odd it was to try and save that data to a
string. So, I added this to a button:
dim h as new HTTPSocket
dim data as FolderItem
data = GetFolderItem("downer.rar")
h.get("http://www.rpgportland.com/software/sounds.rar";, data)
Lo! Barely a blip in CP
Well at least I'm not alone.
I tried in different ways, but I'm always getting way too high cpu
loads.
Tomas
Howdy,
On my XP box, I ran your code to download a file from my website,
and it would grab up to whatever CPU power was available. I put it
in a thread and that kept it running
Howdy,
On my XP box, I ran your code to download a file from my website, and it
would grab up to whatever CPU power was available. I put it in a thread
and that kept it running between 34 and 40% of the CPU load. Should a
single call to http get do that? I have no real idea. Mostly I wanted to
Hi,
is it normal that httpsocket.get uses a lot of resources? I'm trying
to get a big file from the net simply doing:
start new project
Window1.open:
dim h as new HTTPSocket
dim data as string
data=h.get(,5) // myfile=url to any big file on the net
No matter if I put it in a thread