socket and threading ... bad file descriptor

hg hg at
Thu Sep 14 13:44:55 CEST 2006


I have two classes, one listens and accepts connections, gets the
socket, reads the first byte from the opened socket then launches a
thread (threading) and gives it the socket identifier.

The first time the thread attempts to read from the given socket, raises a bad file descriptor in _dummy.

I tried using plain threads with the same problem.

Any clue ?



More information about the Python-list mailing list