IDFv3.1:
1、The device is in station mode and connects to the server via wifi.
2、Possible error message due to network instability。
3、After the error occurs, tcp can't connect again. udp can only send data unacceptable.
4、The server cannot be successfully tested by the ping command.
Socket error message:Software caused connection abort
Re: Socket error message:Software caused connection abort
What errno do you get?
A guess - Do you close your socket after disconnect?
LwIP only has a few sockets available so it is quite easy to forget to close one & then you can no longer connect.
A guess - Do you close your socket after disconnect?
LwIP only has a few sockets available so it is quite easy to forget to close one & then you can no longer connect.
& I also believe that IDF CAN should be fixed.
Re: Socket error message:Software caused connection abort
thanks for the reply.
1、errno = 113.
2、After getting the error, I have done the following:shutdown(Socket, 0);close(Socket).
3、Udp and tcp use different sockets.
Who is online
Users browsing this forum: No registered users and 70 guests