BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Doubt... WinInet versus Direct Socket code...

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (Internet Socket)
View previous topic :: View next topic  
Author Message
Eduardo Jauch
Guest





PostPosted: Thu Feb 22, 2007 7:45 am    Post subject: Doubt... WinInet versus Direct Socket code... Reply with quote



Hi! :)

I have an app that use an component (WinHTTP) that is based on WinInet.
I'm use BCB 6 and in order to use WinHTTP I must add Wininet.lib to the
project.

My app on windows XP instaled on a Athlon XP 2600+ (1,6 GHz) with 1GB
DDR 333MHz can access a specific page on net with get with times from
600 to 800 ms (sometimes take up to 6000 ms, but not usualy).

On another computer using the same XP installation, but an Athlon 64
3500+ (2,6 GHz) with 1GB DDR2 (500MHz +-), the range change to 400 to
600 ms.

if the change in hardware causes this behaviour, I was thinking if it's
possible to turn the code fastest, using direct socket programing
(Winsock 2.0 or other lib)...?

Anyone have some experience with this matters?

Another question is: if I do a code more fast (using sockets problably),
that can retrieve the pages more times per second (actually i can
retrieve only a page each 0.6-0.8 seconds), and thinking that the server
can give me responses at this rate (I think it can...), there some
problem? I mean, with the servers tecnology today, can the server stop
sendind responses because I'm asking them too fast, even for a short while?

Thanks for any adivese Smile
Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (Internet Socket) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.