McCann, Brian wrote: > I posted this to the Twisted list...figured I'd try here too.
Didn't you get an answer? The cracks for special topics are usually there. > to work right. Looking through the API docs I found > "connectionLost()", which I put in my protocol class (EchoProtocol > in the example), but it's > never getting called. Here's my connectionLost def: > > def connectionLost(self,reason): > print "lost:%s" %reason > self.serialServerSocket.close() > self.alive = False > self.serialSocketReadThread.join() > > Can someone please tell me what I'm doing wrong? No, since the definition of a never called function won't help. Try the following standard strategy: Make a copy of your project and reduce it (removing functionality) until the error doesn't appear anymore. If it does *not* vanish, post your short code here or in the Twisted list. Regards & happy hunting, Björn -- BOFH excuse #366: ATM cell has no roaming feature turned on, notebooks can't connect -- http://mail.python.org/mailman/listinfo/python-list