Connecting Tech Pros Worldwide Forums | Help | Site Map

Help with this error : Protocol wrong for this socket

bill.oldroyd@bl.uk
Guest
 
Posts: n/a
#1: Aug 31 '05
I am running Python 2.4.1 on a HP Tru64 Unix system.

When try to carry out a DNS query as follows :

t = socket.getaddrinfo("labs.bl.uk",None)

I get the error message

socket.error: (41, 'Protocol wrong type for socket')

Am I right in thinking this is something to with the DNS lookup ?. Does
anyone have any idea what may be causing the problem ?.

Bill


Closed Thread