2 thoughts on “Remote host closing a TCP connection”
Hi,
the Easy_GPRS_User_guide well explains how suspending (+++) and closing a TCP socket connection (AT+SH). But I wasn’t able to find what happens when the remote host closes a connection.
If the GE865 module isn’t in command mode (it’s exchanging data with the remote host), any module string indicating that the actual connection was closed by the remote host could be confused with the incoming data…
We use cookies to enhance your browsing experience and help us improve our websites. To improve our website, we carefully select third parties that use cookies to allow us to serve specific content and achieve the purposes set out in our cookie policy. For more information on how to make adjustments through your browser to the cookies being used on your device, please click Find Out More link. By closing this banner or continuing to browse our website, you agree to our use of such cookies. FIND OUT MORE
Hi,
the Easy_GPRS_User_guide well explains how suspending (+++) and closing a TCP socket connection (AT+SH). But I wasn’t able to find what happens when the remote host closes a connection.
If the GE865 module isn’t in command mode (it’s exchanging data with the remote host), any module string indicating that the actual connection was closed by the remote host could be confused with the incoming data…
Suggestions?
Thanks
You’ll get NO CARRIER, or you can monitor DCD.