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
share that I had similar results. I know that downloading a file in a
browser doesn't incur that sort of overhead.
Later,
Fargo
Tomas Camin wrote:
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(<myfile>,5) // myfile=url to any big file on the net
No matter if I put it in a thread or not I get always between 50% and
70% cpu usage. I've got a 4Mbit connection and an iBook G4 1.25Ghz.
Tomas
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>