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
3 answers

Android: BroadcastReceiver: UNINSTALL_PACKAGE intent

I need to detect when my app is being uninstalled. For that, I've seen logcat sends out UNINSTALL_PACKAGE intent, and I simply added it to existing Broadcast Receiver I have. But it just doesn't catch it, while other intent I'm listening to,…
galaxyfreak
  • 69
  • 1
  • 5
0
votes
0 answers

MPI: Broadcasting by k-ary Replication

I have to implement a broadcasting algorithm that uses k-ary replication. void mpi_mbroadcast(int fromp, int multi, int degree, char * from, char * to, int nbytes); 1) fromp is the source processor that holds the message to be broadcast. 2) multi…
Samin Khan
  • 61
  • 12
0
votes
0 answers

MPI Broadcasting a vector of vectors

I am broadcasting a vector> (A 2D matrix actually) from the root process and then received at the remaining processes. But when I try to print the result it shows irregular behavior every time. Any help would be appreciated. The…
shaibi
  • 31
  • 4
0
votes
1 answer

Is there a theano operation equivalent to numpy "broadcast_to" method?

Since I need to repeat over a specific axis, I want to avoid unnecessary memory reallocation as much as possible. For example, given a numpy array A of shape (3, 4, 5), I want to create a view named B of shape (3, 4, 100, 5) on the original A. The…
Tqri
  • 23
  • 5
0
votes
0 answers

Broadcast message once user enters or connects to Wifi

I need to broadcast a message to accept "terms and condition" when devices try to connect to WiFi network. Type of devices - Android device, IOS devices (iPhone, Ipad), Window devices ( Phone, Laptop)
0
votes
0 answers

Sockets: only one-way broadcast.?

I have broadcast server and client that written in C++. On one machine they runs and works great. I try to use VBox with Win 8.1. I've installed Wireshark on it and on PC and run it on both sides. First case. I've launched client on PC. Wireshark on…
Evgeniy175
  • 324
  • 1
  • 9
  • 23
0
votes
0 answers

C++ change socket from broadcast to inaddr_any and bind

Good day. I have socket that performs broadcast data exchange. After broadcast i need to use it with inaddr_any and than bind it. Should i recreate socket or it possible to perform it without reopening? Thank you!
Evgeniy175
  • 324
  • 1
  • 9
  • 23
0
votes
1 answer

Angular $broadcast issue

Let's say I have two pages, page A and page B, which have controller A and controller B, respectively. I go to page A first, and do an operation, which would call $broadcast to send out one object: $rootScope.$broadcast('payData', obj) I want to…
Benjamin Li
  • 1,687
  • 7
  • 19
  • 30
0
votes
1 answer

How do I use ReplayKit's class RPBroadcastActivityViewController?

I want to present RPBroadcastActivityViewController, but fail. The sample code just present a black view. - (IBAction)displayServiceViewController:(id)sender { RPBroadcastActivityViewController *rpBroadcastActivityViewController =…
Yofer
  • 1
  • 4
0
votes
2 answers

Qt4.8 how receive any packets aka sniff DHCP by QUdpSocket?

I am trying to create a simple DHCP client using Qt4.8. I Have two host: Server with ip address inet addr:1.5.1.10 Bcast:1.5.1.255 Mask:255.255.255.0 and isc-dhcp-server that sends the following parameters to clients: IPs: 1.5.1.11-100…
Andrey Reeshkov
  • 331
  • 5
  • 14
0
votes
1 answer

send broadcast message when service is stopped

I would like to send the broadcast message back to the activity when the service is stopped by the user or OS. I have tried to add the code in onDestroy of the service while onDestroy have not been called every time. Can anyone give me suggestion…
shisushi
  • 215
  • 1
  • 2
  • 8
0
votes
1 answer

Send a broadcast e-mail in Aweber using .NET API

I want to send a broadcast email using Aweber .NET API. I can authenticate and I can retrieve a list of subscribers. When I create a broadcast, it creates succesfully (the request doesn't fail) and I get back a JSON containing the info about the…
Cosmin Ioniță
  • 3,598
  • 4
  • 23
  • 48
0
votes
1 answer

How to map fields in RDD[String] to broad cast?

How does one get particular fields from RDD[String] to a List of maps with the specific field. I have an RDD[String]: org.apache.spark.rdd.RDD[String] = MapPartitionsRDD[19] Each entry is JSON in this format: { count: 1, itemId: "1122334", …
Swetha
  • 177
  • 1
  • 1
  • 14
0
votes
1 answer

Spark using map in cluster mode

I have a immutable map in my class. When I run my code in local mode, there is no problem and I can reach every key in the map. However, when I run my code in cluster mode, nodes throw error about not finding the key in the map. What I've tried up…
Saygın Doğu
  • 305
  • 1
  • 4
  • 17
0
votes
1 answer

OTP broadcast receiver not working in fragment

I have register this broadcast receiver into fragment, and waiting to read otp automatically but never reached onRecieve() method. please help. IntentFilter intentFilter = new IntentFilter("SmsMessage.intent.MAIN"); mIntentReceiver = new…
Mithilesh Kumar
  • 92
  • 1
  • 2
  • 13
1 2 3
99
100