Hi @chwiede ,
I've done 2 little fixes to adsclient:
In isConnected method I add a check on file descriptor to avoid to call select.select([self.Socket], [], [], 0.1) on a Socket with a negative file descriptor.
In ReadAmsPacketFromSocket instead of return None values, an InvalidPacket exception is raised.
Hi @chwiede , I've done 2 little fixes to adsclient:
isConnected
method I add a check on file descriptor to avoid to callselect.select([self.Socket], [], [], 0.1)
on a Socket with a negative file descriptor.ReadAmsPacketFromSocket
instead of returnNone
values, anInvalidPacket
exception is raised.Let me know if it's ok for you