I am unable to send a udp multicast/broadcast packet, from a laptop 'wired' to a wifi router, to an android phone connected to the same router wirelessly. It works the other way round(phone to laptop). Also, the phone can receive a packet if I explicitly specify the phone ip address in my code. Secondly, there is no issue if both devices are connected via wifi. I have even tried jmdns but the same problem occurs. What could possibly be the issue? Any router misconfiguration? Plz help.
Multicast packet not reaching phone from ethernet
1.8k Views Asked by madridista At
2
There are 2 best solutions below
0
meyo
On
Same problem here, but fixed, is a router config issue.
In my case, had to activate "IGMP snooping" on my router config menu (advanced->LAN) AND the "standard mode" instead of blocking mode.
This made my router to transmit all multicast packets from ethernet over wifi.
Anyway, you might not have exactly the same router as me, just try to find similar features in your own model.
Related Questions in ANDROID
- Delay in loading Html Page(WebView) from assets folder in real android device
- MPAndroidChart method setWordWrapEnabled() not found
- Designing a 'new post' android activity
- Android :EditText inside ListView always update first item in the listview
- Android: Transferring Data via ContentIntent
- Wrong xml being inflated android
- AsyncTask Class
- Unable to receive extras in Android Intent
- Website zoomed out on Android default browser
- Square FloatingActionButton with Android Design Library
- Google Maps API Re-size
- Push toolbar content below statusbar
- Android FragmentPagerAdapter Circular listview
- Layout not shifting up when keyboard is open
- auDIO_OUTPUT_FLAG_FAST denied by client can't connect to localhost
Related Questions in NETWORKING
- kernel module does not print packet info
- Packet drops in multicast when multiple instance of listner are running
- Timing packets on a traffic server
- How to use Espresso Idling Resource for network calls
- Dummynet does not match on flows
- Sending a notification from OS X to iOS
- Swift ios viewDidLoad or viewDidAppear
- Update player list on all clients on new connection
- Issues regarding multiplayer networking: input
- nmap does not show all open ports
- Getting and Sending Data between a Server and Client
- Read file from local PC from network deployed app to InputStream
- Does iOS block a URL if we couldn't connect to the URL for 'n' times?
- Is Socket.Available guaranteed to throw a SocketException on disconnect?
- android out of cell service
Related Questions in MULTICAST
- psuedo TCP multicast with os.dup2() in python?
- Packet drops in multicast when multiple instance of listner are running
- How can two processes which bind on the same port receive the same message?
- Win8: DatagramSocket.send to multicast addr silently failes
- Raw socket multicasting
- Setting up RMI ehcache replication with proper multicast address setting
- Why are no inputs showing up in SSIS multicast transformation?
- Why is MulticastSocket.setNetworkInterface() much slower using Java 8 runtime?
- Multicasting in C: Binary does not receive when using addrinfo
- stucture data sending using udpmulticasting in C#
- Frequent reports of jgroups dropped messages during a performance test
- Java - reduce Time-To-Live of UDP packet by sending it via MulticastSocket?
- MulticastSocket and Runnable
- Multicast without going through the primary gateway?
- Python asyncio: How to receive multicast responses?
Related Questions in LAN
- VirtualBox machine - Set to access LAN only
- using Visual Basic 2013 and simple tcp client/server to implement lan game
- Failed to authenticate with proxy - Android Emulator
- How to know fast if another computer is accesible in AS3 (Adobe Air)
- Can I connect to websocket through network IP Address?
- TCP Messenger (LAN) Application
- Is it possible to get information as byte (or text( variable in the WiFi?
- Accessing lamp container over lan using Kitematic
- LAN/offline alternatives to PubNub?
- Making an already used URL go to a lan website
- How to configure phabricator with a bare domain url?
- How do you publish an ASP.net MVC application from Visual Studio 2013 to your local network?
- How to use server IP as proxy
- Run application on desktop and display to Smart Tv(s) over LAN
- Change WAMP server url on LAN
Related Questions in JMDNS
- serviceRemoved is not called while discovering the devices
- Discovering local server connection via LAN using Android
- Can I make an android game on local wireless network?
- JmDNS on Android
- JmDNS : Discover the same service on Multiple devices
- How can I use service listener
- Unable to Destroy Android Activity
- Repeating JmDNS device search
- jmdns Airplay - Service is not discovered
- android resolve .local (mDNS)
- Finding devices on network with Bonjour / Zeroconf / jmDNS on PlayBook / Blackberry
- JmDNS 3.4.1, does it support IPv6?
- JMDNS is not working with 4G connection?
- How to find Bonjour in local wifi in Android
- jmdns constants
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
You should acquire a MulticastLock before attempting to receive any multicast data. On some HTC devices, this also applies to receiving broadcast traffic. You can acquire a multicast lock using the WifiManager.