Socket is a disallowed module http://code.google.com/appengine/docs/python/runtime.html#Pure_Python
On appengine, currently you need to call an external webservice (via urlfetch) - which kinda sounds like it makes your application superfluous ;) 2009/12/16 Aces.LinuX <[email protected]>: > Hi all, > > I'm trying to develop a webservice to return a IP from website, but > i'm getting an error with the "socket" library. > > The code that i'm testing: > > import socket > print socket.getaddrinfo("www.gogle.com", None)[0][4][0] > > but i'm getting the foloow error: > > 'module' object has no attribute 'getaddrinfo' > args = ("'module' object has no attribute 'getaddrinfo'",) > > There another way to dyscover a IP from the website? > > []'s > > -- > > You received this message because you are subscribed to the Google Groups > "Google App Engine" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/google-appengine?hl=en. > > > -- Barry - www.nearby.org.uk - www.geograph.org.uk - -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
