Add shutdown() to disable send/receive on a socket in catcpserver
authorMinji Park <minjii.park@samsung.com>
Tue, 15 Nov 2016 07:30:02 +0000 (16:30 +0900)
committerAshok Babu Channa <ashok.channa@samsung.com>
Fri, 18 Nov 2016 08:37:11 +0000 (08:37 +0000)
commit009b22f7cead9bf9bb0a5d66fbe6dc653e0f8057
tree7ca56ab26f61c2e5c12487531b38c664127067bc
parent31dac9a80ec064b924a361f630e384fbd5f2206f
Add shutdown() to disable send/receive on a socket in catcpserver

- Add shutdown() before close socket when closing connection in catcpserver

Change-Id: Ibe2ed942428f754dc148bd1c48422036f84a319c
Signed-off-by: Minji Park <minjii.park@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/14343
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Jaehong Jo <jaehong.jo@samsung.com>
Reviewed-by: Hyuna Jo <hyuna0213.jo@samsung.com>
Reviewed-by: Uze Choi <uzchoi@samsung.com>
Reviewed-by: Ashok Babu Channa <ashok.channa@samsung.com>
resource/csdk/connectivity/src/tcp_adapter/catcpserver.c