I am looking for an alternative to using UDP multicast on the .NET Framework and am looking for suggestions.
I need to send messages to several web servers running quite a few ASP.NET applications. These messages would be one-way only, coming from several different machines. UDP multicast would be perfect except that I can't use it due ...
This is in Java, but I can always revert to C via JNI if needed.
I have a system with two NICs, each connected to a distinct subnet. I want to use multicast (in particular, SDP) to discover other hosts on both networks.
One network is easy: create a MulticastSocket on the specified port, joinGroup it, and I get packets. Simplicity.
Tw...
So, I've been trying to figure out exactly why this isn't working but I haven't a clue. I've managed to send packets from the iPhone and receive them on my Mac. And according to tcpdump my mac is correctly sending the packets. Additionally, if I run this in the simulator it works fine. This leads me to believe that it's a network problem...
Is there a way to join an Ethernet multicast group? All documentation I found is about adding an IP group.
I just want to receive the Cisco CDP packet that is sent to the MAC address 01:00:0c:cc:cc:cc.
...
I have to machines in the same network that should communicate over the Spread Toolkit
Both machines have the same config file
Spread_Segment 129.70.129.255:4803 {
cadmium 129.70.129.13
palladium 129.70.129.12
}
Spread starts correctly on both machines but doesn't show the other machine.
Actually sending messages doesn't work eith...
I have an app that uses 2 multicast channels, so
_sock = new Socket(AddressFamily.InterNetwork, SocketType.Dgram, ProtocolType.Udp);
IPEndPoint iep = new IPEndPoint(IPAddress.Any, 30002);
_sock.Bind(iep);
_sock.SetSocketOption(SocketOptionLevel.IP, SocketOptionName.AddMembership, new MulticastOption(IPAddress.Parse("239.255....
Hello
This is my code for connecting to a multicast server, is this the best way of handling the exception. What I would like to do is to retry to connect if an exception occurs
def initialiseMulticastTrackerComms():
try:
sock = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
sock.setsockopt(socket.IPPROTO_IP, socket.IP_MUL...
On a computer with both an active Wireless Card and a LAN-Port with a crossover cable hooked up to another machine running the same application, we need to send a UDP multicast over the LAN wire to the other computer. Using C# Sockets, Windows seems to try to route the message over the WLAN adapter every time.
Is there a way to specify ...
Suppose I have no network card installed on my computer, and I would like to have functionality similar to the following:
Process 1 will publish messages to some URI, say "Uri1"
var publisher = new Publisher("Uri1");
publisher.publish(new Message("Somedata");
Process 2 will both listen for messages on "Uri1" and publish messages to "...
I'm writing a PTPv2 implementation in Matlab using the Java interface, because the udp command in Matlab doesn't do multicast packets for the sync. I have the socket set up and I can receive packets just fine, but when I'm viewing the conversations in Wireshark, I'm broadcasting to a different multicast group than the one I gave the ord...
Assuming a network hierarchy that supports video multicasting, what options are there today to tap into this stream from a web page?
I've seen some references to this with Silverlight and project Star Light, which I unfortunately have no experience with. It also feels like a third option behind HTML5 and Flash.
What is out there on t...
I have the following code which works fine on my Windows 2003 server:
static void Main(string[] args)
{
UdpClient sock = new UdpClient(5353);
IPAddress multicastIP = IPAddress.Parse("224.0.0.251");
IPEndPoint multicastEndpoint = new IPEndPoint(multicastIP, 5353);
sock.JoinMultica...
We make heavy use of multicasting messaging across many Linux servers on a LAN. We are seeing a lot of delays. We basically send an enormous number of small packages. We are more concerned with latency than throughput. The machines are all modern, multi-core (at least four, generally eight, 16 if you count hyperthreading) machines, a...
I need to determine the IP of a machine that has sent me a multicast packet, so that I can respond to it via unicast.
I'm using the following csharp (.Net 3.5) code to receive the packets over a multicast connection (code has been edited for brevity, with error checking and irrelevant options removed):
IPEndPoint LocalHostIPEnd = new I...
Hi,
I have this strange problem with ehcache 2.0 that I hope someone can help me with. I have set up a cluster of two hosts, A and B. I can see that heartbeats are received at both ends, so I'm pretty sure the networking and multicast stuff is working. The problem is that is I put an element into the cache at host A, I can see in the lo...
This code works perfectly in Ubuntu, in Windows and MacOSX, it also works fine with a Nexus-One currently running firmware 2.1.1.
I start sending and listening multicast datagrams, and all the computers and the Nexus-One will see each other perfectly. Then I run the same code on a Droid (Firmware 2.0.1), and everybody will get the packe...
I need to come up with clients that can multicast to other clients reliably. That implies I'll be using TCP to connect reliably between clients within a multicast group. Doesn't that come up to n^2 number of connections? That seems a little silly to me. Wouldn't/shouldn't there be a way to more easily multicast with reliability?
EDIT: U...
Is it possible to create a discoverable network resource in .NET?
What I would like to acheive is a means of auto discovery for applications that run on a private network. The architecture will be similar to a client / server application, however the server could be any computer on the network. While the client would not be aware of the...
I need to generate a G711 multicast audio stream, and came across the AVTransmit2 sample as part of the Java Media Framework.
Fundementally this works, however the multicast packets all have TTL set to 1.
I found some documentation that suggested the SessionAddress could specify a TTL value, so I've tried changing that i.e.
destAddr ...
I'm trying to execute a simple example of Multicast sockets on Java.
MulticastSocket s = new MulticastSocket(6789);
InetAddress group = InetAddress.getByName("230.1.1.1");
s.joinGroup(group);
This code generates the error: IP_ADD_MEMBERSHIP failed (out of hardware filters?)
Any idea?
...