[Spambayes] Re: Cannot connect to socket with sb_bnserver.py

papaDoc papaDoc at videotron.ca
Fri Apr 16 17:00:53 EDT 2004


Hi Skip,

>What happens if you run sb_bnserver.py standalone like:
>
>    sb_bnserver -a 2 /tmp/test-socket
>
>?  Does it exit quickly with a traceback or sit there quietly for two
>seconds before exiting?
>  
>
it sit there for 16sec and exit without any traceback (This is running 
on a 486 at +/- 72% or CPU load)

>    Remi> Where can I find the information for the error code 111 ??
>I'm not sure.  I would have thought /usr/include/sys/errno.h, but it's not
>there in plain site.  There's probably a .h file in /usr/include somewhere
>with a macro defined to that value.  You could grep for it (or grep for
>6[fF] in case it's defined in hex).
>  
>
I found this:
"As an example, the Connection refused error exception is assigned the 
number 111 under Linux, but it is 10061 in another popular operating 
system."


I read a little on python socket and usually on connect to a host on a 
given port not to a file ?

Remi

-- 
/"\
\ /
 X   ASCII Ribbon Campaign
/ \  Against HTML Email




More information about the Spambayes mailing list