Fix to resolve discovery issue when built with "scons"
TARGET_TRANSPORT=ALL is the default value and TCP support is
enabled in this case. As currently multicast is not supported via TCP,
Discovery is not working. This patch resolves the issue by sending UDP based
packet via IP adapter while TCP based packet via other adapters.
Change-Id: I6fb7556c2d5053c4c14c8fc21892b23c06602608
Signed-off-by: vimala.v <vimala.v@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/5271
Reviewed-by: Jon A. Cruz <jonc@osg.samsung.com>
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Jaehong Jo <jaehong.jo@samsung.com>
Reviewed-by: Ashok Babu Channa <ashok.channa@samsung.com>