A broadcast is a one-to-many message passing interface. It is usually used in the context of a network programming or event-driven programming.
Questions tagged [broadcast]
1905 questions
9
votes
1 answer
receiving UDP packets send to 127.0.0.1 when using SO_REUSEADDR
I am trying to make a set of applications discover each other using UDP and broadcasting messages. The applications will periodically send out an UDP packet saying who they are and what they can do. Initially we only use to broadcast to…

Ritsaert Hornstra
- 5,013
- 1
- 33
- 51
9
votes
4 answers
Broadcast receiver highest priority not working
I'm doing an application using ACTION_MEDIA_BUTTON handler, but it appears it is always intercepted by MX Player or Apollo and I get no Intent
I've tried both 1000 and 2147483647 priority set in tag and directly after constructor with…

Max The Cat
- 401
- 2
- 5
- 16
9
votes
2 answers
UDP broadcast/multicast vs unicast behaviour (dropped packets)
I have an embedded device (source) which is sending out a stream of (audio) data in chunks of 20 ms (= about 330 bytes) by means of a UDP packets. The network volume is thus fairly low at about 16kBps (practically somewhat more due to UDP/IP…

djbuijs
- 266
- 1
- 2
- 10
9
votes
1 answer
How can chrome.socket be used for broadcasting or multicasting?
I want to create a Chrome Packaged App used for LAN only, where one instance serves as a server (session host) and other instances must discover the server and join the session. Can this be achieved with chrome.socket?
I have set up the server like…

hlidka
- 2,086
- 1
- 15
- 14
8
votes
1 answer
What's the correct and working way to broadcast an UDP packet in Java?
I need to broadcast an UDP packet on every network interface. At first, I tried broadcasting to 255.255.255.255, with no results, and I later discovered that this "has been deprecated for about 20 years". So I tried iterating on every network…

gd1
- 11,300
- 7
- 49
- 88
8
votes
2 answers
Does Windows Phone 7 Mango support UDP broadcast?
According to the MSDN documentation Mango does not support UDP broadcast. According to this thread it is somehow possible. Does anybody have any experience with UDP on Phone 7? A code snippet in C# would be appreciated.
EDIT:
We made some further…

slfan
- 8,950
- 115
- 65
- 78
8
votes
4 answers
Little problem with AsyncUdpSocket receiving data after connecting to broadcast instead of server
I have a problem with AsyncUdpSocket.
I used to connect to a server, send some data and get some response. Now since I do not know the actual address of the server I had to change my code and send the data to the broadcast address…

eemceebee
- 2,656
- 9
- 39
- 49
8
votes
3 answers
Java DatagramSocket listening on a broadcast address
I have written the simple test class which is meant to listen on Eth and receive all UDP packets, which go to port 5001:
public class Main {
public static void main(String[] args) throws SocketException, UnknownHostException, IOException {
…

rcs-34
- 81
- 1
- 1
- 2
8
votes
0 answers
RemoteServiceException: can't deliver broadcast on All OnePlus devices having oreo and pie
I have been seeing this crash in Crashlytics only for OnePlus manufactured devices(one, 3, 5,5T, 6, 6T) having oreo and pie from past 3-4 months. It didn't occur for previous android versions.
Fatal Exception: android.app.RemoteServiceException:…

shivam gupta
- 141
- 1
- 6
8
votes
1 answer
Is it possible to send data with BLE broadcast mode?
I would like to kindly ask you if it's possible to send data (a string) in broadcast mode from a BLE device (like a Raspberry Pi, Onion or Arduino with a bluetooth dongle) to another device (like a Phone or another Raspberry Pi), which will show the…

Henry
- 107
- 1
- 1
- 11
8
votes
5 answers
Unable to receive android.intent.action.EVENT_REMINDER broadcast
I would like to write an application that is triggered when a calendar reminder occurs. I realize there is no officially documented way of doing this, but I have seen in the log that when my calendar alarm goes off on my phone (Droid X),…

eshayne
- 915
- 9
- 15
8
votes
1 answer
Mac: stream a video file as webcam to applications (similar to CamTwist)
I am trying to program a feature, similar to that of CamTwist, with which a video file (on hard disk) can be broadcasted to other applications as video input.
However, I am not sure where to begin..googling did not help much either.
a little…

Jags
- 1,466
- 1
- 18
- 33
8
votes
4 answers
Android Broadcast Address
I am making a Client Server application for my Android phone.
I have created a UDP Server in Python which sits and listens for connections.
I can put either the server IP address in directly like 192.169.0.100 and it sends data fine. I can also put…

RailsSon
- 19,897
- 31
- 82
- 105
8
votes
1 answer
Android - sendOrderedBroadcast help
I am trying to use a sendOrderedBroadcast in my Android app.
I want to be able to send the Intent from one of my applications to another and I then want to get data back from the Application that recieves the Intent, in this case a boolean true or…

Donal Rafferty
- 19,707
- 39
- 114
- 191
8
votes
1 answer
Broadcasting single message using APNS
I have an IOS app and JAVA on my server. I need to send only a single message to multiple device on same time. Is it possible via APNS(is there any service provided by apns, i didn't find). It will be impossible me to loop for every token because it…

Rahul
- 295
- 3
- 14