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:
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:
international time (1997)
emailer w/F2 (1997)
Looking for WebCatalog Linux experience/comments. (2001)
Sort Order on a page search (1997)
Location of Webcat site in folder hierarchy (1997)
WebCatalog 2.0 b 15 mac (1997)
same bill to and ship to? (1998)
Error Lob.db records error message not name (1997)
Banner DNA (1997)
WebCatalog for Postcards ? (1997)
PCS Frames (1997)
multi-paragraph fields (1997)
Sorting error (1997)
Date Sorting (1997)
Still having problems with Authen (1997)
quitting (1997)
Text limits in NT version? (1997)
Search in 2 or more catalogs (1997)
quantity minimum problem (1997)
Image Pirating [protecting against] (2003)