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
0
votes
2 answers
Receive non-standard UDP broadcast python
I am having great difficulty receiving a UDP broadcast in Python. A device connected to PC via ethernet broadcasts messages on a specific address and port. I have tried numerous multicast python examples found online but I can never receive the…

user2818700
- 23
- 1
- 1
- 4
0
votes
1 answer
socket.io: why doesn't this broadcast statement work?
I'm trying to use broadcast statement to send messages to specific user.However, when I'm starting with self-sending messages using the following statement, it doesn't work. The client side cannot receive the message. So what's wrong with this…

neolicd
- 1,009
- 2
- 11
- 14
0
votes
3 answers
Broadcast Receiver not working when app is not running
My broadcast receiver does not work when the application is not running in the background.
Tried with different intent filters

Ronak Mutha
- 304
- 1
- 2
- 13
0
votes
0 answers
Isn't possible to send an UDP Broadcast in some computers
Why is it not possible to send a UDP Broadcast in some computers?
I've tested with Packet Sender, and it works in some computers in my company, and in others it is not possible to send.
There is another software from VIRDI company, called…

Bruno Yuzo
- 83
- 8
0
votes
1 answer
Implementing BroadcastReceiver inside JobService
I am working on an application that uses JobService. Now, in my app i want to reschedule the Broadcast receiver that is working in the background. So, i want to know if i can implement BroadcastReceiver inside JobService so that it can restart after…

Piyush k
- 297
- 3
- 14
0
votes
1 answer
Should i always unregister a local broadcast receiver
I have an Android app that uses local broadcasts to pass information from an activity to a custom preference (that extends the Preference class). I register the receiver in the OnCreateView method of the preference:
LocalBroadcastManager.GetInstance…

Artūrs Eimanis
- 578
- 3
- 5
- 22
0
votes
1 answer
How to prevent super activity's broadcast receiver from receiving broadcast messages while the child activity's receiver is registered in Android
While I'm coding for my App I've come across an interesting problem which is
I've 5 activities which are derived from a common activity
AppCompatActivity
^
|
CustomSuperActivity (Implemented to take advantage of the common…

Samuel Robert
- 10,106
- 7
- 39
- 60
0
votes
3 answers
How do I pass an object data as a value (not as reference) using angularJS $broadcast
I'm trying to pass some data and action within two controllers by using AngularJS $broadcast event. But I'd problems with passing the data as a value (not reference).
What I've done so far is first I created a function that broadcast sendCartPreview…

Danny Pranoto
- 214
- 2
- 12
0
votes
1 answer
Laravel 5.2 not broadcasting events
I've tried to broadcast event with pusher. But after a long hours of debugging I am still without a working solution.
Pusher works great, it's getting events from the debug console. Laravel is also firing the event. I also set up the queue and…

Avi Nahum
- 33
- 1
- 7
0
votes
0 answers
share files between online instances and get the path of the file java
I'm writting some code, to search in the network for online instances and share files between them. The user selects an instance and fill a field with the name of the file to look for (variable "searchName"). After this the system serialize the…

Joseph
- 159
- 2
- 4
- 12
0
votes
2 answers
Why is rootscope.on not triggered?
I am using $scope.$emit in my ListController to trigger a $rootScope.$on event in the MainController(angular 1.3):
(function () {
'use strict';
angular
.module('mymodule.faultlist')
.controller('MainController',…

bier hier
- 20,970
- 42
- 97
- 166
0
votes
0 answers
Using scope.$broadcast from parent to many isolated child scopes in sequence
In my application, a user can choose a subject from a dropdown and create multiple notes about that subject. Each note is a directive which is a child of the subject scope and each note has an isolate scope. At the moment, the user can close a…

hughesjmh
- 2,133
- 2
- 11
- 11
0
votes
1 answer
Socket.io: Is it possible for a user to alter the listening channel?
So I'm starting to use Redis and Socket.io to broadcast events to the client side. I'm using Laravel for the backend and will take advantage of their event functionality.
Based on a user's access level, I only want them to listen to certain…

kenshin9
- 2,215
- 4
- 23
- 38
0
votes
2 answers
Does a router broadcast the packet or an arp request when receiving a packet with unknown destination mac?
When a router receives a packet with unknown destination MAC (perhaps due to arp time out), how does the router respond? Will it broadcast the packet or broadcast an arp request instead? I find it a little confusing when I see these two solutions in…

Ruddhi
- 11
- 2
0
votes
1 answer
CometD service vs. broadcast channel
In the article http://www.cometdaily.com/2008/05/15/the-many-shades-of-bayeuxcometd-2/index.html the author describes:
Often with PubSub, developers feel the need to create a channel per user in order to deliver private messages to a client. For…

Chap
- 2,776
- 24
- 31