Timeout and disconnect SBL2E
Posted: Fri Sep 02, 2016 9:06 am
Hello.
I am using SBL2E in my design. A microcontroller is sending kind of heartbeat messages every 15 seconds to usart at SBL2E. When there is a problem in the network so socket cannot close properly from the client side, the SBL2E does not timeout and disconnect properly, even if I physically disconnect the connector, the SBL2E does not close the connection. Then, when I try to connect again SBL2E always rejects connection. I have to power off and on, or submit new setting using internal webserver to be able to connect again. This closes active connection so I can reconnect intermediately.
I guess my heartbeat messages from microcontroller to SBL2E keep connection alive, even if they cannot be transmitted on the TCP/IP side.
I was expecting SBL2E to be able to handle TCP/IP connection problems and reset socket connection based on "Timeout and disconnect after this many seconds of inactivity" parameter at internal webserver index page.
Am I doing something wrong? Is this behavior normal?
Thanks for your help.
I am using SBL2E in my design. A microcontroller is sending kind of heartbeat messages every 15 seconds to usart at SBL2E. When there is a problem in the network so socket cannot close properly from the client side, the SBL2E does not timeout and disconnect properly, even if I physically disconnect the connector, the SBL2E does not close the connection. Then, when I try to connect again SBL2E always rejects connection. I have to power off and on, or submit new setting using internal webserver to be able to connect again. This closes active connection so I can reconnect intermediately.
I guess my heartbeat messages from microcontroller to SBL2E keep connection alive, even if they cannot be transmitted on the TCP/IP side.
I was expecting SBL2E to be able to handle TCP/IP connection problems and reset socket connection based on "Timeout and disconnect after this many seconds of inactivity" parameter at internal webserver index page.
Am I doing something wrong? Is this behavior normal?
Thanks for your help.