Hi Everyone, I am trying to do this in my program:
dest = socket.gethostbyname(host)
I have included the line
from socket import *
in the beginning of the file
I am getting an Attribute Error that says:
AttributeError: type object '_socketobject' has no attribute 'gethostbyname'
I really do not understand what I need to do to solve this issue. If anyone can please help me, I'll be really grateful. I am running Vista 64bit. Could there be a problem with my OS? I have turned down my firewall and everything. Please help me.