Page 1 of 1

lwip_connect_r: 113 error

Posted: Sun Sep 29, 2019 11:16 pm
by 0xffff
Hello,

I'm trying to connected via TCP modbus to a remote device at some IP address. Sometimes I find that I am unable to connect to this device with the error

Code: Select all

 lwip_connect_r: 113
Looking at errno.h, it seems that this error means:

Code: Select all

#define ECONNABORTED 113	/* Software caused connection abort */
However, there's nothing that I know that I'm intentionally doing to abort the connection. Does anyone have any thoughts on the conditions under which this error may occur, and also, good experiments to run to help shed further insight?

Thanks