If AdsClient fails to send a command it catch socket.error
and it tries 3 times to resend it.
After 3 attempts it raise an AdsException with code 0x274c.
This commit solves an issue that causes BROKEN PIPE error
if Beckhoff PLC closes socket between a command and the next.
If AdsClient fails to send a command it catch socket.error and it tries 3 times to resend it. After 3 attempts it raise an AdsException with code 0x274c. This commit solves an issue that causes BROKEN PIPE error if Beckhoff PLC closes socket between a command and the next.