"JamesHoward" <[EMAIL PROTECTED]> escribió en el mensaje 
news:[EMAIL PROTECTED]

>I have a problem with python's asyncore module throwing a bad file
> descriptor error.  The code might be difficult to copy here, but the
> problem is essentially:
>
> The server wants to sever the connection of an open Asyncore socket.
> Calling the socket.close() nor the socket.shutdown(2) calls seem to
> work.  The only way I can close the connection without creating the
> error below is to have the client close the connection.

You have to use the dispatcher's close() method, else, the asyncore map 
won't be updated, keeping a reference to the closed socket.

-- 
Gabriel Genellina 


-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to