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:

URGENT! Locked DB's (2001) shipcost (1997) Can you do this??? and other stuff (1997) Tiny Store (1998) Bug or syntax error on my part? (1997) Tax Laws for Online Sales (2003) no global [username] or [password] displayed ... (1997) writing cart to db (1998) Out of the woodwork (2007) Accessing Storebuilder (2000) Formatting Email (2000) frames & carts (1997) Creating folders and deleting files (1997) webcat NT (1998) faxing orders (2000) sort problems....bug or brain fart? (1997) Authorize.net (2003) [sendmail] questions... (1997) Document Contains No Data! (1997) WebCat 4.0 & WebMerchant (2000)