igmp

implementing LWIP multicast on STM32F7 + FreeRTOS?

无人久伴 提交于 2019-12-12 17:15:17
问题 I have a client/server LWIP program that works correctly with unicast communication however I want to use multicast features so I used IGMP library did the following: 1- in lwipopts.h: #define LWIP_IGMP 1 //allowed IGMP 2- in ethernetif.c: netif->flags |= NETIF_FLAG_IGMP; //in low_level_init function 3-in my source file (for both client and server projects): implemented the following code: void recCallBack (void) { printf("connected"); //BREAK_POINT } static void UDP_Multicast_init(void *arg)

Sniffing IGMP messages on the local network

 ̄綄美尐妖づ 提交于 2019-12-04 05:47:29
问题 I'm trying to sniff all IGMP messages on the local network (for crazy reasons not to be discussed ;-)). I have some questions related to this, as I'm not really an IGMP/routing expert. Is it even possible? I know I can read IGMP from a raw socket, and I know you can use Wireshark to monitor the IGMP messages that reach your local computer, but what puzzles me is this: I use a program on another computer (separated from the one running Wireshark by a switch) which will join a multicast address

Sniffing IGMP messages on the local network

旧巷老猫 提交于 2019-12-02 08:21:30
I'm trying to sniff all IGMP messages on the local network (for crazy reasons not to be discussed ;-)). I have some questions related to this, as I'm not really an IGMP/routing expert. Is it even possible? I know I can read IGMP from a raw socket, and I know you can use Wireshark to monitor the IGMP messages that reach your local computer, but what puzzles me is this: I use a program on another computer (separated from the one running Wireshark by a switch) which will join a multicast address - BUT - it's not always that I even see the Membership report/JOIN in Wireshark. Now does anyone know

Why does multicast reception not work on some Android devices?

五迷三道 提交于 2019-11-30 09:10:56
It seems multicast reception does not work on some Android devices. I can not receive multicast with 4 out of 13 test devices. On those 4 devices it seems the app does not send the IGMP request to join the multicast group. The code to receive the multicast looks like so: WifiManager wifiManager = (WifiManager)context.getSystemService(Context.WIFI_SERVICE); WifiManager.WifiLock wifiLock = wifiManager.createWifiLock(WifiManager.WIFI_MODE_FULL_HIGH_PERF, TAG); WifiManager.MulticastLock multicastLock = wifiManager.createMulticastLock(TAG); multicastLock.setReferenceCounted(true); wifiLock.acquire(

Why does multicast reception not work on some Android devices?

人走茶凉 提交于 2019-11-29 14:00:10
问题 It seems multicast reception does not work on some Android devices. I can not receive multicast with 4 out of 13 test devices. On those 4 devices it seems the app does not send the IGMP request to join the multicast group. The code to receive the multicast looks like so: WifiManager wifiManager = (WifiManager)context.getSystemService(Context.WIFI_SERVICE); WifiManager.WifiLock wifiLock = wifiManager.createWifiLock(WifiManager.WIFI_MODE_FULL_HIGH_PERF, TAG); WifiManager.MulticastLock

How to join source specific multicast group in C# (IGMPv3)

故事扮演 提交于 2019-11-28 01:57:06
问题 We have a C# application that can join and receives data from a multicast group. This works well. We now want to support IGMPv3 and be able to specify the IP of the source when joining a multicast group. From the MSDN documentation, I don't see how to do this. I have found the following link that seems to answer my question. http://social.msdn.microsoft.com/Forums/en/netfxnetcom/thread/e8063f6d-22f5-445e-a00c-bf46b46c1561 And here is how I implemented this: byte[] membershipAddresses = new