lwip_connect_r: 113 error

0xffff
Posts: 41
Joined: Tue Jun 19, 2018 1:53 am

lwip_connect_r: 113 error

Postby 0xffff » Sun Sep 29, 2019 11:16 pm

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

Who is online

Users browsing this forum: MicroController and 52 guests