Added logging to check the remote device address for connection.
Change-Id: Ia4ed72ba227ba5a2e2f06f8120f144301291cfe9
Signed-off-by: hyuna0213.jo <hyuna0213.jo@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/12117
Reviewed-by: Jaehong Jo <jaehong.jo@samsung.com>
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Ashok Babu Channa <ashok.channa@samsung.com>
static int CATCPCreateSocket(int family, CATCPSessionInfo_t *svritem)
{
+ VERIFY_NON_NULL_RET(svritem, TAG, "svritem", -1);
+
+ OIC_LOG_V(DEBUG, TAG, "try to connect with [%s:%u]",
+ svritem->sep.endpoint.addr, svritem->sep.endpoint.port);
+
// #1. create tcp socket.
int fd = socket(family, SOCK_STREAM, IPPROTO_TCP);
if (-1 == fd)