Questions tagged [broadcast]

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.

1905 questions
0
votes
0 answers

Broadcast from external controller to internal controller is not working

In my AngularJS application there are 2 controllers: ExternalCtrl and LoginModalCtrl. ExternalCtrl constains LoginModalCtrl. ExternalCtrl all broadcast method to give singal to LoginModalCtrl in order to show modal, but it's not working. My code is…
P.K.
  • 1,746
  • 6
  • 25
  • 62
0
votes
1 answer

Read source address for UDP broadcast

My goal is to listen on broadcast address range ff05:e671:2015::1 for udp datagrams. When such is received, the concrete server ip shall be recovered. Currently, I am receiving valid packets. However, when I check the source address, here are a…
Vorac
  • 8,726
  • 11
  • 58
  • 101
0
votes
1 answer

Monitor for Wifi Connected and Disconnected States via Broadcast Receiver

I'm developing an app, where I need a broadcast receiver which will monitor for wifi connected and disconnected states. I've tried many codes, browsed lots of stackoverflow posts, but no success. I haven't found any such method/code which work…
user4246624
0
votes
2 answers

what is the difference between the methods getvalue() and value() in spark broadcast variables

I created broadcast variables in spark java and called destroy() methods on them when i used get value() method i am still able to access the variables but when I used value method it is throwing error which is correct
vamshi
  • 19
  • 1
0
votes
1 answer

Socket program for sending broadcast a packet over wifi radio to a device in its range

I want to run a program for sending my own packet to the environment over wifi radio. As my knowledge, this work can be done if I send a ethernet frame to the dest Mac address ff:ff:ff:ff:ff:ff. So i opened a raw socket and constructed the ethernet…
0
votes
0 answers

Does permission protectionLevel="signature" absolutely secure?

I need to send secure data between my applications by sending broadcast with permission: sendBroadcast(intent,"my.custom.PERMISSION"); I wanna be sure…
AndrOvip
  • 385
  • 2
  • 12
0
votes
0 answers

set alarm on "my_package_replaced" when the alarm expires, this intent should be broadcasted

I want to broadcast intent [action "my_package_replaced"] in my code, when alarm expires. But when the alarm expires it was not broadcasting the above intent.
sri
  • 31
  • 2
0
votes
1 answer

Jersey SSE not working with Tomcat 7

Frustrated, i am posting this question. I am sure I have surfed enough to know that the proper answer is not discussed so far. But if the case is the contrary, please accept my Apologies and share with me the apt forum link. I am testing the…
0
votes
0 answers

Send String from service to activity using broadcast receiver

im trying to send string from service to activity - but i cant do this. I found a lot of examples - and nothing not work. Im using LocalBroadcastManger i add this part of code to mainactivity. private BroadcastReceiver mMessageReceiver = new…
Peter
  • 2,480
  • 6
  • 39
  • 60
0
votes
0 answers

Socket C: broadcast with select, send Server Response to all Clients

I'm sorry but I'm a beginner in C Socket Programming. I have a Server and more client. When a Client send a message to the Server, the Server should forward this message to all Clients. I designed Server and Client using the Select(), now I don't…
Giacomo Brunetta
  • 1,409
  • 3
  • 18
  • 38
0
votes
1 answer

Broadcasting to server using WebRTC and recording on server and screen sharing

I am planning to create an app which right now in feasibility study, I found WebRTC a bit promising on what I want to achieve as it provides peer to peer audio/video communication. I want the client to broadcast using WebRTC to server (to leave a…
Bilbo Baggins
  • 2,899
  • 10
  • 52
  • 77
0
votes
1 answer

Send data to Node.js Clients

I am trying to build a Node.js App to Monitor some Raspberry Pi's. Since those Raspberries don’t have a static IP, they send an UDP Broadcast every 5 seconds. I'm able to catch that Broadcast with Node.js, but I'm failing to trigger a new function…
0
votes
1 answer

access Broadcast Variables in Spark java

I need to process spark Broadcast variables using Java RDD API. This is my code what I have tried so far: This is only sample code to check whether its works or not? In my case I need to work on two csvfiles. SparkConf conf = new…
ROOT
  • 1,757
  • 4
  • 34
  • 60
0
votes
1 answer

Utilize current controllers scope and parent controllers scope in $scope.$on

I am currently broadcasting to a child scope(from one parent controller to a child controller). In the $scope.$on app.controller('myCtrl') $scope.$on('broadcastName', function(e, d){ //I want to be able to access myCtrl's scope…
user3738936
  • 936
  • 8
  • 22
0
votes
1 answer

android background service stops processing broadcas events

I've a problem with my android application. I'm using a background service (with notification on the status bar) which performs an audio sample every hour. To perform this sample I generate a broadcast event every hour and when I capture the event…