TCPConnect Very Slow

This WebDNA talk-list message is from

2006


It keeps the original formatting.
numero = 67311
interpreted = N
texte = Hi I have a problem with a [tcpconnect] being very slow and I'm wondering if anyone can help. Basically I am trying to send a string of variables to a php page and get the result, if I do it just in the browser it takes about a second to do it's thing, but if I do it with the following code it can take roughly 18-20 seconds. Does anyone know why that might be? Below is an excerpt from my code... [tcpconnect host=cms.asylumweb.net&port=80][tcpsend skipheader=T][!] [/!]POST /php/mypage.php HTTP/1.1[crlf][!] [/!]Referer: http://cms.asylumweb.net[crlf][!] [/!]Host: cms.asylumweb.net[crlf][!] [/!]Content-type: application/x-www-form-urlencoded[crlf][!] [/!]Content-length: [countchars][MyVariables][/countchars][crlf][!] [/!][crlf][!] [/!][MyVariables][crlf][!] [/!][/tcpsend][/tcpconnect] Any help or pointers would be much appreciated. Cheers ======================================== Steve Craig - Asylum Interactive Ltd Tel +44 1330 860550 Fax +44 1330 860880 ======================================== http://www.asylumweb.com Email: steve@asylumweb.com Skype: s.craig - iChat: steve.craig ======================================== ------------------------------------------------------------- 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:

    
  1. TCPConnect Very Slow ( Steve Craig 2006)
Hi I have a problem with a [tcpconnect] being very slow and I'm wondering if anyone can help. Basically I am trying to send a string of variables to a php page and get the result, if I do it just in the browser it takes about a second to do it's thing, but if I do it with the following code it can take roughly 18-20 seconds. Does anyone know why that might be? Below is an excerpt from my code... [tcpconnect host=cms.asylumweb.net&port=80][tcpsend skipheader=T][!] [/!]POST /php/mypage.php HTTP/1.1[crlf][!] [/!]Referer: http://cms.asylumweb.net[crlf][!] [/!]Host: cms.asylumweb.net[crlf][!] [/!]Content-type: application/x-www-form-urlencoded[crlf][!] [/!]Content-length: [countchars][MyVariables][/countchars][crlf][!] [/!][crlf][!] [/!][MyVariables][crlf][!] [/!][/tcpsend][/tcpconnect] Any help or pointers would be much appreciated. Cheers ======================================== Steve Craig - Asylum Interactive Ltd Tel +44 1330 860550 Fax +44 1330 860880 ======================================== http://www.asylumweb.com Email: steve@asylumweb.com Skype: s.craig - iChat: steve.craig ======================================== ------------------------------------------------------------- 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/ Steve Craig

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:

ShowIf inside formulas (1997) Location of Browser Info.txt file (1997) Re:Call For Entry: Third Annual Business on The Internet (BOTI) Awards (1999) [Price] (1997) Country & Ship-to address & other fields ? (1997) RE: protect tag on NT (1997) Round up prices (2000) emailer (1997) Re1000001: Setting up shop (1997) Error Messages Returned to User (1997) FlushDatabases (2000) Speaking of Rediret (2004) Multiple shipping databases (1997) [sendmail] on NT? (1997) Return records from another (1997) Presenting a .txt file (2000) Sort Issue? (2000) [ot] html question (2000) Formating found categories (1997) AOL displays strange header info (2000)