[IOT-1575] Update to manage connection state of tcp session
authorhyuna0213.jo <hyuna0213.jo@samsung.com>
Mon, 7 Nov 2016 08:24:22 +0000 (17:24 +0900)
committerAshok Babu Channa <ashok.channa@samsung.com>
Mon, 12 Dec 2016 08:26:18 +0000 (08:26 +0000)
commit9fd22b1c194ddbfc31acabe5d38b5fb0649eb2e6
treeb19054d59aa395ad9e7e3db8995421a397b29ce8
parent1a7e693057120130de252e5a26a62c407d28093a
[IOT-1575] Update to manage connection state of tcp session

If network interface is down, the socket of the connecting/connected
state will be closed.

Change-Id: I9f9cda2e3ab5672c336ed165ec4f189ab846f054
Signed-off-by: hyuna0213.jo <hyuna0213.jo@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/14067
Reviewed-by: jihwan seo <jihwan.seo@samsung.com>
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Jaehong Jo <jaehong.jo@samsung.com>
Reviewed-by: Dan Mihai <Daniel.Mihai@microsoft.com>
Reviewed-by: Ashok Babu Channa <ashok.channa@samsung.com>
resource/csdk/connectivity/inc/catcpadapter.h
resource/csdk/connectivity/src/tcp_adapter/catcpserver.c