|
timeout for "socket"? Im using "socket" for checking, if the site is "alive", just: catch { socket $site 80 } err ....if "alive", then just "close $err" follows. But I'm wondering, what about poor Internet connection case? Could be possible to set longer timeout? How? -- ZB ... 1 Jul 2008 11:17
SOAP via HTTP Hi I need to convert the following information to a Tcl/http POST: POST /X/Y/Serial.asmx HTTP/1.1 Host: xyz.net Content-Type: text/xml; charset=utf-8 Content-Length: length SOAPAction: "http://uri.org/getSerialNumber" <?xml version="1.0" encoding="utf-8"?> <soap:Envelope Bla.../"> <soap:Body> <get... 27 Jun 2008 11:06
Tcl-URL! - weekly Tcl news and links (Jun 26) QOTW: "CGI is like if Liberace and Michael Jackson had a lovechild, and it was retarded." - Colin McCormack, in the process of explaining "... your argument convinces me I should implement CGI" "Take a deep breath ..." - Larry Virden, highlighting his own detailed and effective debugging algorithm http://gr... 26 Jun 2008 14:37
Why is this regular expression invalid in Expect? (where it is valid if I use regexp) At 2008-06-26 01:58PM, "Victor" wrote: I have this expect code, but not obvious why it bombed based on regular expression syntax: My code: ================= exp_send "$password\r" expect { timeout {timeoutHandler; error TimeOut} -re {>[ ]*$} { } -re {*]\$[ ]*$} ... 26 Jun 2008 14:37
www.nikeadishoes.com because our company open no long time,and we have some pro in deals with oredr please make you new order to us ,i think we will have a good beginning !! Our website: www.nikeadishoes.com Choose your favorite products please trust us ,have a good beginning Email:shoesec(a)yahoo.com.cn MSN:shoes-ec(a)hotm... 26 Jun 2008 14:37
Why is this regular expression invalid in Expect? (where it is valid if I use regexp) I have this expect code, but not obvious why it bombed based on regular expression syntax: My code: ================= exp_send "$password\r" expect { timeout {timeoutHandler; error TimeOut} -re {>[ ]*$} { } -re {*]\$[ ]*$} { } -re {\$[ ]*$} { } } Here is the actual error: ==... 26 Jun 2008 14:37
Autoproxy behind a corporate firewall that uses a website to configure proxy jalitt(a)gmail.com writes: Hello, I am a tcl user behind a corporate firewall. I'd like to develop an app that communicates with a server outside of the firewall, and I'd like to write this app in tcl. The only problem is that autoproxy does not work because my company stores proxy info on a website. IE... 29 Jun 2008 22:23
Autoproxy behind a corporate firewall that uses a website to configure proxy Hello, I am a tcl user behind a corporate firewall. I'd like to develop an app that communicates with a server outside of the firewall, and I'd like to write this app in tcl. The only problem is that autoproxy does not work because my company stores proxy info on a website. IE knows the url and uses it just f... 30 Jun 2008 02:28
Really need help on this one Hi all, I am posting this again as i really need help for this. Just point me in the right direction and i'll run with it. Is there a way to read the output of a particular command into a variable. I am thinking something in the lines of #! /bin/sh # -*- tcl -*- \ exec tclsh "$0" ${1+"$@"} #... 26 Jun 2008 18:45
Capturing "stdout" into a text widget Hi All, I am trying to convert a tcl "shell" app to a "GUI" app. So, I want to take anything that gets printed to the screen and insert it into a text widget. Sort of like logging. (I probably want to write all the info into a file eventually). I figured I can use 'catch' to capture the stderr (though not ... 26 Jun 2008 11:31 |