broadcast

Why do I receive twice the data sent over UDP broadcast?

Hello, I have a problem with the code below. What it does is send the current date/time using UDP broadcast and listens to this message. My current use of this code is local, I use the Send and Receive in the same application, on the same computer. I didn't try it between 2 computers yet. public class Agent { public static int Port...

Problems with SO_BINDTODEVICE Linux socket option

Hello network experts, I have a pc with two network cards. One (eth0) is for LAN/internet and the other for UDP communication with one microcontroller (mc) device. The mc has an IP(192.168.7.2) and a MAC address. The second pc network adapter (eth1) has 192.168.7.1. The mc has a very simple IP stack, so the easiest way for the mc to sen...

How to listen for broadcast packets on any port?

Using .NET, how can I listen to udp broadcast packets sent to .255 on any port without the need of binding to a specific port? ...

How to build a server to broadcast real time video?

I need to build a system to broadcast videos, just like Youtube. But the video is real-time video, which means the video are captured, converted and broadcast immediately. Is there any open source software can do this? I really need some practical guides including the requirements (hardware and software). Thanks in advance~ ...

UDP broadcasts are not being received by sender

Platform: Windows 2003 R2, C# I have an application that sends UDP messages to other instances of itself, running on the same computer and on other computers. This is working fine. But, on some computers, the listener cannot hear messages that other thread/process on the same computer has transmitted. The message is broadcast ok, and...

How to create local broadcast of webcam feed

An application I am using can embed a streamed video from a URL. So I would like to use my webcam feed by broadcasting to http://localhost%3APORT On Windows I think Windows Media Encoder will do this. But is there a more lightweight solution? Right now I am just looking at Windows but am also interested in Linux. ...

e-Delivery / e-broadcast platform or provider

We're a communications company, primarily in print and mail (e.g. bank statements, utility bills). A lot of our customers want to switch to email delivery, either by pdfs as attachments or by click throughs to an online service portal. Our print and mail software is pretty snazzy (think word mail merge on steriods), but we don't have a...

Android - how to receive broadcast intents ACTION_SCREEN_ON/OFF?

<application> <receiver android:name=".MyBroadcastReceiver" android:enabled="true"> <intent-filter> <action android:name="android.intent.action.ACTION_SCREEN_ON"></action> <action android:name="android.intent.action.ACTION_SCREEN_OFF"></action> </int...

c++ send data to multiple UDP sockets

Hi all! I got a c++ non-blocking server socket, with all the clients stored in a std::map structure. I can call the send() method for each clientObject to send something to the connected client and that works pretty good already. But for sending a message to all (broadcast?) i wanna know: there is something better than do a for/loop w...

Send reply to broadcast with a Socket

I'm trying to send a broadcast and then let the server reply to it: public static void SendBroadcast() { byte[] buffer = new byte[1024]; var socket = new Socket(AddressFamily.InterNetwork, SocketType.Dgram, ProtocolType.Udp); socket.SetSocketOption(SocketOptionLevel.Socket, SocketOptionName.Broadcast, 1); ...

For UDP broadcast gurus: Problems achieving high-bandwidth audio UDP broadcast over WiFi (802.11N and 802.11G)

Hi, I'm attempting to send multichannel audio over WiFi from one server to multiple client computers using UDP broadcast on a private network. I'm using software called Pure Data, with a UDP broadcast tool called netsend~ and netreceive~. The code is here: http://www.remu.fr/sound-delta/netsend~/ To cut a long story short, I'm able ...

How to ignore your own broadcast udp packets

For the following I'm assuming one network card. I have a component of my program which is designed to let others in the subnet know of its existence. For this, I've implemented a solution where whenever the program starts up (and periodically afterwards) it sends a broadcast to INADDR_BROADCAST - whoever listens on the required port w...

A good broadcast mechanism for inhouse .net applications to announce their location and version?

I would like to provide a large number of inhouse .net applications with a lightweight way to announce that they are being used. My goal is to keep track of which users might benefit from support check-ins and/or reminders to upgrade. This is on an inhouse network. There is definitely IP connectivity among all the machines, and probab...

Launch activity at certain time

Hi, I'm new to Android development, so I might be missing something obvious. I want to launch an activity when the user's phone clock hits a specified time (similar to an alarm). However, I'm not sure how I would go about doing this as constant polling of the clock seems inefficient and a waste of resources. Do I need to capture broadc...

UDP Broadcast Reception Problems with Ubuntu 9.04 but not 8.04

Updates 01-27ter: rp_filter information added 01-27bis: Note that the 9.04 box works on a different interface. 01-27: Added interface configuration information and analysis of a packet. Original Post I've got two extremely similar hardware configurations (SuperMicro 1U systems with dual Xeon CPUs and two Ethernet ports on board), on...

Problem recieving 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 INADDR_BROADCAST. All applications share the same port to listen to (hence the SO_REUSEADDR). An even...

screen broadcasting with multiplexation?

Hi. I want to broacast my screen, the problem is i've got very limited upload speed, if there are more than 2 clients screencast becomes absolutely awful. But i've got a server with a broadband channel (100MB). The question is: is there some screencast broadcasting software that runs on both win and linux and has multiplexer? I thoug...

Video Broadcasting

For fun I'd like to recreate http://chatroulette.com/. Basically i need to be able to stream webcam video from one computer to another using flash. I'm new to flash. Are there libraries out there for this? ...

receiving datagrams sent by client over internet

I made two console app: Broadcasting listener and UDP writer (for practice only). Each run on different machine over the internet. Broadcasting listener: INADDR_ANY, port 5555 Udp writer: Enabled Broadcasting (setsockopt, SO_BROADCAST) Case: The writer send some datagrams to listener server (ip: 113.169.123.138). Listener can r...

Android - Intents somehow incrementing?

Hi all, I have started using custom intents in my application and I have come across a bit of a problem. When I send a custom intent I register a Broadcast Receiver and I catch the intent no problem. However problems seem to appear when I send the intent again, the Broadcast Reciever seems to register two events of the intent and so o...