TCPConnect TimeOut?
This WebDNA talk-list message is from 2006
It keeps the original formatting.
numero = 67652
interpreted = N
texte = Is there a way to tell TCPConnect to timeout after a set number of secs?I currently have a TCPConnect which grabs data from an external source, but occasionally the source server is very busy, and can take up to 10 secs to return the data.I'm looking to build a method that waits for 5 secs, and if nothing's come back - then just move on to the next part of the code - allowing me to add a "sorry not available right now" message.I've looked at elapsedtime, but am unable to see how I can get it to work in this context.Any thoughts?Thanks.Mark.-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list
.To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/
Associated Messages, from the most recent to the oldest:
|
- TCPConnect TimeOut? ( Mark Derrick 2006)
|
Is there a way to tell TCPConnect to timeout after a set number of secs?I currently have a TCPConnect which grabs data from an external source, but occasionally the source server is very busy, and can take up to 10 secs to return the data.I'm looking to build a method that waits for 5 secs, and if nothing's come back - then just move on to the next part of the code - allowing me to add a "sorry not available right now" message.I've looked at elapsedtime, but am unable to see how I can get it to work in this context.Any thoughts?Thanks.Mark.-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/
Mark Derrick
DOWNLOAD WEBDNA NOW!
Top Articles:
Talk List
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...
Related Readings:
RE:It just Does't add up!!! (1997)
available times? (2003)
[showif [getcookie otherDomain]=yes] inside a [TCP connect] will work? (2000)
SiteGuard Admin Feature ? (1997)
WebCatalog/Mac 2.1b2 - PIXO (1997)
$adminput doesn't allow [include] files (1997)
select multiple 2 more cents (1997)
cybercash (1997)
Notepad problems (1998)
Using Plug-In while running 1.6.1 (1997)
[WebDNA] Middle Question (2015)
Problem with ShoppingCart.tpl refresh (2000)
WebCat2 several catalogs? (1997)
Ram WebDNA is using (2004)
PCS Frames (1997)
Searching Numbers (2004)
Login Page & [Protect] (2001)
Sorting... stumped. (2006)
shipcost and Formulas.db (2000)
PIXO (1997)