error return from urlopen

Albert Hopkins marduk at letterboxes.org
Wed Aug 5 17:28:22 CEST 2009


On Wed, 2009-08-05 at 20:48 +0530, Rustom Mody wrote:
> When I direct urlopen to a non-existent server process I get
> 
> IOError: [Errno socket error] (10061, 'Connection refused')
> The connection refused is as expected but whats the 10061?
> strerror(10061) says 'unknown error'
> 
> So its like an errno but not quite an errno?
> Can I find out more about this number like I can about errno?

http://msdn.microsoft.com/en-us/library/ms740668(VS.85).aspx







More information about the Python-list mailing list