socket.error doesn't have an 'errno' member under python 2.6

http://docs.python.org/2/library/socket.html#socket.error