peter lin wrote:

"It seems the method getaddrinfo() is not currently implemented.
I test another module urllib, which uses  httplib."

I had a similar problem but thanks to our friend Seo Sanghyeon, there is a
possible solution until the IronPython socket module supports
getaddrinfo(). I have documented it at:

http://hex-dump.blogspot.com/2006/07/overriding-ironpythons-built-in.html 
<http://hex-dump.blogspot.com/2006/07/overriding-ironpythons-built-in.html>

And it means the urllib example peter gave will work:

import urllib
data = urllib.urlopen('http://www.google.com').read( 
<http://www.google.com%27%29.read%28>)
print data

Regards

Mark

_______________________________________________
users mailing list
[email protected]
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com

Reply via email to