| View previous topic :: View next topic |
| Author |
Message |
trapper Contributor


Joined: 28 Jan 2005 Posts: 112 Location: Brisbane, Australia
|
Posted: Fri Feb 03, 2006 12:20 am Post subject: VDSIPP.DLL and HTTP timeouts |
|
|
I have an application that uses vdsipp.dll and makes a lot of http get requests. A problem which has just started happening appears to be that the server occasionally gives no response at all to some of the requests.
I use threads in vdsipp.dll, and as I'm counting the requests and corresponding ongetdone events to know when to finish, the application will at times just hang waiting for an ongetdone event which doesn't come.
As it seems there is no timeout setting in vdsipp.dll ( ) I was wondering if there's anything else I could do. My only thought at the moment is a timer which triggers if all the ongetdones haven't come in by a certain time... then take appropriate action in response to the timer. It seems a bit messy so I'm hoping someone else has a better solution.
Cheers... _________________ John Trappett |
|
| Back to top |
|
 |
vtol Valued Contributor


Joined: 05 Feb 2004 Posts: 656 Location: Eastern Indiana
|
Posted: Mon Feb 13, 2006 9:07 pm Post subject: |
|
|
Hi Trapper
I'm not an expert, but you prolly allready tried Dreadnet.DLL, heres some of its gets - etc.. (has a lotta other commands also)
@Dnet(UserName)
Obtain the name of the current user.
@Dnet(ComputerName)
Get the Windows computer name.
@Dnet(ComputerHostname)
Retrieve the computer network host name.
@Dnet(GetIP)
Retrieve the computer's local IP address. If the computer is not behind a firewall/router/proxy etc. this address may also be its external IP.
@Dnet(GetExtIP1,[SMTP server IP address])
Retrieve the computer's external (Internet-side) IP address. Supply the function with the address of an SMTP server to be queried.
Test it - it works with some servers, not with others....
Example:
@Dnet(GetExtIP1,"195.188.53.60")
@Dnet(GetExtIP2,[document URL], (path to temp file))
Retrieve the computer's external (Internet-side) IP address. Supply the function with an URL to a document giving the IP address of the querying client.
Param1: URL to document that generates this string - "IP Address: [IP]", e.g. IP Address: 80.65.134.20. The string can be a substring as long as it holds the text IP Address:+space+IPaddress
Document may be a Perl or PHP script that shows the environment variable REMOTE_ADDR
Param2: Name of temp file - will be deleted after use.
Example:
@Dnet(GetExtIP2,"http://checkip.dyndns.org/",@windir(T)~extip.txt)
@Dnet(GetIPs)
Returns a list of IP addresses associated with the current computer.
@Dnet(IP2host, [IP address])
Get the host name of the computer having the IP address specified.
Example:
@Dnet(IP2host,"195.188.53.60")
@Dnet(Host2IP, [Hostname])
Get the IP address of the named host computer.
Example:
@Dnet(Host2IP,"www.microsoft.com")
Maybe for some reason dreads may work for you - not sure  |
|
| Back to top |
|
 |
|
|
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 You can attach files in this forum You can download files in this forum
|
|