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.


Reply via email to