[IronPython] Can not use httplib in ironpython beta9?

Mark Rees mark at centurysoftware.com.au
Wed Jul 19 02:35:13 CEST 2006

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:


And it means the urllib example peter gave will work:

import urllib
data = urllib.urlopen('http://www.google.com').read( 
print data



More information about the Ironpython-users mailing list