🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.cppbuilder.internet.socket
1 messages
1 total messages Started by Eduardo Jauch Thu, 22 Feb 2007 01:45
Doubt... WinInet versus Direct Socket code...
#1329
Author: Eduardo Jauch
Date: Thu, 22 Feb 2007 01:45
28 lines
2089 bytes
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 :)
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads