OIC_LOG_V(INFO, TAG, "try to connect with [%s:%u]",
svritem->sep.endpoint.addr, svritem->sep.endpoint.port);
+#if defined(__TIZEN__)
char *proxy_addr = CAGetCloudAddressForProxy();
OIC_LOG_V(INFO, TAG, "Proxy : '%s'", proxy_addr ? proxy_addr : "(nil)");
+#endif
// #1. create tcp socket.
int fd = socket(family, SOCK_STREAM, IPPROTO_TCP);
return CA_SOCKET_OPERATION_FAILED;
}
+#if defined(__TIZEN__)
// #5. Send HTTP CONNECT to proxy if proxy
const char *cloud_address = CAGetCloudAddressForProxy();
return CA_SOCKET_OPERATION_FAILED;
}
}
+#endif
return CA_STATUS_OK;
}