Re: how to validate a proxy is alive?

2006-03-10 Thread JuHui
cool! thanks ! -- http://mail.python.org/mailman/listinfo/python-list

Re: how to validate a proxy is alive?

2006-03-10 Thread robert
JuHui wrote: > I want to get a html page content via a http proxy. > befor this, I want to check the proxy. how to validate it? > thanks > most simple by a socket-connect / error if non-existing: >>> s = socket.socket(socket.AF_INET, socket.SOCK_STREAM) >>> s.connect(('nonexisting-proxy-server

Re: how to validate a proxy is alive?

2006-03-10 Thread JuHui
I want to get a html page content via a http proxy. befor this, I want to check the proxy. how to validate it? thanks -- http://mail.python.org/mailman/listinfo/python-list

Re: how to validate a proxy is alive?

2006-03-10 Thread Rene Pijlman
JuHui: >If a proxy is alive then return true, else return fals after 1 second. What kind of proxy? Design pattern? Protocol? Which one? -- René Pijlman -- http://mail.python.org/mailman/listinfo/python-list

how to validate a proxy is alive?

2006-03-10 Thread JuHui
If a proxy is alive then return true, else return fals after 1 second. thanks -- http://mail.python.org/mailman/listinfo/python-list