Re[2]: [PEAR-DEV] Re: go-pear. Was:Re[2]: [PEAR-DEV] XML_RPC
| From: | anatoly techtonik | Date: | Wed, 08 Dec 2004 17:22:37 +0000 |
| Subject: | Re[2]: [PEAR-DEV] Re: go-pear. Was:Re[2]: [PEAR-DEV] XML_RPC | ||
| References: | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-34914@lists.php.net to get a copy of this message | ||
Hello Pierre-Alain,
>> Also go-pear can't handle correctly if internet connection is
>> available. I've already proposed a workaround in Net_Socket and
>> XML_RPC for this issue - gethostbyname() should be called before
>> fsockopen()
PAJ> What's the problem with go-pear working on a host with internet
PAJ> access?
Sorry, my fault. There should be phrase 'internet connection "isn\'t"
available' or the word 'unavailable' in my post.
PAJ> Do you have any other good ideas? Calling gethostbyname before
PAJ> fsockopen is nothing than ugly and slow.
fsockopen will call it anyway. You can try to call fsockopen with some
fiction url and meditate a bit about it's error message. I'd be very
glad if you can make a solution how to handle that error or at least
suppress to handle it later.
t
--