Thiago, My experience is that the default behavior is IPV6_MULTICAST_LOOP == true.
In all my IPv6 testing with a client-server build, the server always received the multicast packets. It was a problems sometimes. John -----Original Message----- From: iotivity-dev-bounces at lists.iotivity.org [mailto:iotivity-dev-boun...@lists.iotivity.org] On Behalf Of Thiago Macieira Sent: Wednesday, February 03, 2016 10:26 AM To: iotivity-dev at lists.iotivity.org; hj210.choi at samsung.com Subject: Re: [dev] Proposal: Support multiple applications on a single smartdevice regardless of connectivity type On quarta-feira, 3 de fevereiro de 2016 06:46:58 PST Hyungjun Choi wrote: > Hi all, > > Let me propose an item for discussion that supporting multiple > applications on a single smart device regardless of connectivity type. > > In IoTivity, I think smart device (rich device) means smart phone, > smart TV, smart watch and other devices which can host multiple applications > on it. > Let me assume that there is a smart watch which has sensors. It can > provide the measured information to other device as well as control another > device. > > I think, it?s possible to imagine that provide those functionalities > by IoTivity to enrich its usability. In such case, it is necessary to > operate IoTivity client application and server application on a single > smart device simultaneously. Correct. > I?m not sure that current IoTivity can support this requirement > irrespective of connectivity type such as BLE. If not, I suggest it is > time to discuss to make it possible on IoTivity to cope with market trend. Hello Hyungjun I'm not sure what problem you see in the first place. For a client and a server application to run on the same device, we simply need the client's discovery packets to somehow discover the server that is running there. From that point forward, everything should proceed normally with current code. All we need for this is to configure our multicast query packets to be sent with IP_MULTICAST_LOOP / IPV6_MULTICAST_LOOP. -- Thiago Macieira - thiago.macieira (AT) intel.com Software Architect - Intel Open Source Technology Center _______________________________________________ iotivity-dev mailing list iotivity-dev at lists.iotivity.org https://lists.iotivity.org/mailman/listinfo/iotivity-dev