stephane/libmodbus — pull request #40 by karlp (2011-11-16 13:36:36+00:00)
Title: When sending, don't retry forever in ERROR_RECOVERY_LINK mode

This is more inline with receiving, which only closes and reopens the link once. Sending
should still retry, but just not forever. Currently hardcoded to 3 times.

This "fixes" issue #39

However, I'm not 100% convinced that this is the best path for everybody? Should the amount be configurable? with the default of 0 being the same as now (forever?)