A multicast socket is a bi-directional communications endpoint used for the sending of packets to multiple receivers via multicast (typically IP) or for receiving multicast packets.
Questions tagged [multicastsocket]
156 questions
0
votes
2 answers
Multicasting Error: Multicast Address Not Found
I am trying to create a SOAP Client. but keep getting this error. Any ideas why? I tried changing the IP but still same error.
MulticastSocket.Java
public void joinGroup(InetAddress mcastaddr) throws IOException {
if (isClosed()) {
…

kiwilifter
- 37
- 1
- 9
0
votes
0 answers
MulticastSocket not receives sent packet
I'm trying to uso MulticastSocket between two process.
Server send packet and client need to read it. The server code is:
MulticastSocket multicastSocket = new MulticastSocket();
multicastSocket.setTimeToLive((Integer)…

Alessandro
- 199
- 2
- 16
0
votes
0 answers
Dijkstra's Algorithm in Multicast Routing
EDIT: I reconstructed the question
I was assigned a project where I need to simulate multicast routing and put labels in the network. The teacher was very vague as to what kind of simulation we needed so that is where I got confused. I'll outline…

Marco Neves
- 141
- 15
0
votes
2 answers
Multicast Socket Android Error On Data Recieving?
I am new in socket programming. i am using Multicast socket for broadcasting through wifi hotspot network.But i am facing problem at the reciver side.
Here is my code
Server Side
import java.io.IOException;
import java.net.DatagramPacket;
import…
0
votes
1 answer
Setting Up Multicast Server Socket in Android
I found some examples for setting up a multicast socket server (receiving) in Android and I'm trying to add that to my project. My constructor code looks like this:
try
{
this.socket = new MulticastSocket (PORT);
socket.joinGroup…

Rich
- 4,157
- 5
- 33
- 45
0
votes
0 answers
Using Multicast Sockets Online
I am attempting to create a server that receives an audio feed through a datagram socket and streams this audio to different listeners. I was originally doing this by having another datagram socket waiting for the listeners to ask to join in and…

patrickdamery
- 539
- 6
- 16
0
votes
1 answer
MulticastSocket Android related with Internet?
I am adding one network interface(eth) to a multicasting group for network broadcasting as I need to create jMDNS object. The ethernet interface is TCPIP for Bluetooth. I am facing one problem in which internet/Wifi needs to be active for creating…

Saby
- 718
- 9
- 29
0
votes
0 answers
MulticastSocket on port 80
I would like to create a network application where some devices have to send a packet to the same another device. This device is an Android one. My idea is to broadcast the message to the network so that the device will get it. I have checked on the…

user1382272
- 189
- 2
- 13
0
votes
2 answers
Java Broadcasting: throw BindException
I want that my client application is able to connect to a Server application.
The problem is that my Client doesn't know the Server ip (in LAN).
So I tried to use java object MulticastSocket. Luckily Oracle have a page with an example of…

xdola
- 562
- 2
- 8
- 23
0
votes
1 answer
How to monitor multiple multicast groups at the same time
I am currently using Ruby 1.8.7 to develop a Linux version of a Windows tool that checks for multicast data on up to 2 interfaces based on user configured multicast groups and ports.
I had a previous issue where I wasn't sure how to listen to…

Glen
- 67
- 1
- 8
0
votes
1 answer
How to join multiple multicast groups on one interface
The Ruby version I have available is 1.8.7 and can't be upgraded as it is part of standard image that is used on all the companies Linux servers at this time and anything I do needs to be able to run on all of these servers without issue (I'm hoping…

Glen
- 67
- 1
- 8
0
votes
1 answer
stucture data sending using udpmulticasting in C#
I am trying to multicast struture data by converting it into byte array. Everything worked fine with below code except string variable's data of structure is not recieved at clients end as sent from server instead it is displaying empty string or…

Parashuram
- 303
- 2
- 6
- 19
0
votes
2 answers
MulticastSocket receives message twice
I send messages to WIFI Access Point via MulticastSocket and get replies always twice. If I try to send message to me self, I get message twice again. This is my receiver code:
protected Void doInBackground(Void... params) {
String…

Alexander Tumanin
- 1,638
- 2
- 23
- 37
0
votes
1 answer
Java Multicast Socket Receiver does not work on two machines
I am trying to implement multicast communication over the internet. Here is my code
First Send then receive 5 times Code:
public static void main(String args[]) throws IOException
{
MulticastSocket socket = new MulticastSocket(4446);
…

Ashutosh Baheti
- 410
- 4
- 20
0
votes
1 answer
Network Interface has no address when tethering in android
I am attempting to setup a broadcast or multicast server on Android while it is acting as a hotspot. After some initial troubles with broadcasting (receiving network unreachable errors) I saw that this is normal for Android so I opted to implement…

Jared
- 1,449
- 2
- 19
- 40