error return from urlopen

R

Rustom Mody

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?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,264
Messages
2,571,065
Members
48,770
Latest member
ElysaD

Latest Threads

Top