Re: [WebDNA] Some code inside a large loops fail ... but why?

This WebDNA talk-list message is from

2010


It keeps the original formatting.
numero = 104450
interpreted = N
texte = On Jan 13, 2010, at 13:48, Kenneth Grome wrote: >>>> What about the [tcpconnect] outside the loop, and the [tcpsend]=20 >>>> inside? >>>=20 >>> I tried that too but I got no response at all using that approach. =20= >>=20 >> I guess it is because the loop quickly opens an increasing number of = TCP requests which is limited by the receiving server to something like = 10. When this number is reached, the receiving server just reacts as = under a DoS attack with a number of opened sockets (SYN_RECV) that the = receiving server will just time out after several minutes. >=20 > This makes sense only when the tcpconnect is outside the loop and the = tcpsend is inside the loop. But when both are inside the loop, only one = tcp request can be done at a time -- and after each is done the replace = context is supposed to write to the db. yes, but if nothing comes back, then nothing is written into the db = because the [append] will not wait for a result, and another loop starts = immediately... Also, i a not sure about the [replace append=3DT&db=3Ddatabase.db&...] = code? chris Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] Some code inside a large loops fail ... but why? (Kenneth Grome 2010)
  2. Re: [WebDNA] Some code inside a large loops fail ... but why? (christophe.billiottet@webdna.us 2010)
  3. Re: [WebDNA] Some code inside a large loops fail ... but why? (Kenneth Grome 2010)
  4. Re: [WebDNA] Some code inside a large loops fail ... but why? (Kenneth Grome 2010)
  5. Re: [WebDNA] Some code inside a large loops fail ... but why? (christophe.billiottet@webdna.us 2010)
  6. Re: [WebDNA] Some code inside a large loops fail ... but why? (Christer Olsson 2010)
  7. Re: [WebDNA] Some code inside a large loops fail ... but why? (Kenneth Grome 2010)
  8. Re: [WebDNA] Some code inside a large loops fail ... but why? (christophe.billiottet@webdna.us 2010)
  9. Re: [WebDNA] Some code inside a large loops fail ... but why? ("Psi Prime Inc, Matthew A Perosi " 2010)
  10. Re: [WebDNA] Some code inside a large loops fail ... but why? (Kenneth Grome 2010)
  11. Re: [WebDNA] Some code inside a large loops fail ... but why? (Brian Fries 2010)
  12. Re: [WebDNA] Some code inside a large loops fail ... but why? (Kenneth Grome 2010)
  13. Re: [WebDNA] Some code inside a large loops fail ... but why? (Govinda 2010)
  14. Re: [WebDNA] Some code inside a large loops fail ... but why? (Kenneth Grome 2010)
  15. Re: [WebDNA] Some code inside a large loops fail ... but why? (Stuart Tremain 2010)
  16. Re: [WebDNA] Some code inside a large loops fail ... but why? (Kenneth Grome 2010)
  17. Re: [WebDNA] Some code inside a large loops fail ... but why? (Stuart Tremain 2010)
  18. [WebDNA] Some code inside a large loops fail ... but why? (Kenneth Grome 2010)
  19. [WebDNA] Some code inside a large loops fail ... but why? (Kenneth Grome 2010)
On Jan 13, 2010, at 13:48, Kenneth Grome wrote: >>>> What about the [tcpconnect] outside the loop, and the [tcpsend]=20 >>>> inside? >>>=20 >>> I tried that too but I got no response at all using that approach. =20= >>=20 >> I guess it is because the loop quickly opens an increasing number of = TCP requests which is limited by the receiving server to something like = 10. When this number is reached, the receiving server just reacts as = under a DoS attack with a number of opened sockets (SYN_RECV) that the = receiving server will just time out after several minutes. >=20 > This makes sense only when the tcpconnect is outside the loop and the = tcpsend is inside the loop. But when both are inside the loop, only one = tcp request can be done at a time -- and after each is done the replace = context is supposed to write to the db. yes, but if nothing comes back, then nothing is written into the db = because the [append] will not wait for a result, and another loop starts = immediately... Also, i a not sure about the [replace append=3DT&db=3Ddatabase.db&...] = code? chris christophe.billiottet@webdna.us

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:

Search results templates (1996) Close Databases Crash? (1998) [OT] PHP?MySQL Help Needed (2003) Error, 101 a DNS problem ? (1997) Custom Shipping Charges (1997) XML Woes Revisited (2004) WebTen? (1997) SKU (1997) WebMerchant Q (2000) extending webcatalog (1997) Emailer help....! (1997) Fed Ex Rate Charts (2003) WebCat2 - Getting to the browser's username/password data (1997) well sort of - database design (2003) Multiple SSL Keys (1998) Getting the domain of every request ... (2003) Can I invoke an ssi plugin from within a webcat page (1997) japanese characters (1997) Not reading code (1997) AmEx, shipping (2000)