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
0 answers
Get frames or video from java multicast ( VCL streaming sender)
I am doing a VCL streaming and I need to get the frames or the video from a java multicast.
I join the multicast group and I receive these datagram packets, but I do not know how to handle them.
Any code advices? Or any library to convert these…

diego
- 147
- 1
- 1
- 8
0
votes
1 answer
Multicast between applications on the same host
From what I've read, it should be possible for two applications on the same host to be able to send and receive datagrams via multicast. I was trying to implement this, using the following Java code (which is a slightly modified version of what is…

chrillof
- 325
- 2
- 15
0
votes
1 answer
Java MulticastSocket setSoTimeout freezes program
I am trying to use multicastsockets in a program of mine. Today, I'm not sure what changed, but my program (which hasn't changed and was working fine before) started freezing on random occasion when the setSoTimeout(int) method was called. It's not…

kennemat
- 180
- 2
- 8
0
votes
1 answer
Multicast Socket Joined Client Ip Address
I'm working in client server project in java. i'm using MulticastSocket . I have to send some message to selective clients. But i don't know how to get joined client address. Can anyone please help me out.

Madhan Kumar
- 3
- 5
0
votes
1 answer
is it possible to receive datagrampackets from many clients in one socket in the server side?
i am trying to make a project about sending and receiving sound states from clients to server and the server is ending back acknowledgments,I am using UDP to make the communication much faster,in the server java class i have a unicast class inside a…

KamelK
- 71
- 9
0
votes
1 answer
IOCTL returns No such device
I have written a code to create and set the properties of VLAN interface. I am able to set the IP address, however the I am facing problem in setting the gateway address and reading the device flags. Please have a look at code and suggest what could…

Praveen Kagatikar
- 3
- 1
- 2
0
votes
1 answer
Can't set SO_BINDTODEVICE for a socket on enp4s0
I have an old code running for linux (ubuntu 16.04) that binds to a socket and set SO_BINDTODEVICE,
setsockopt(sout, SOL_SOCKET, SO_BINDTODEVICE,"enp4s0", 4);
I have change the target to a new Ubuntu 17.10, and it fails with the error "No such…

Mquinteiro
- 1,034
- 1
- 11
- 31
0
votes
1 answer
not able to send messages with Multicastsocket over my local network
I am using the example server and client from this website. I have the client on my laptop and the server on my other laptop.
When I run them the server doesn't receive anything. When I run the server and client on the same laptop (doesn't matter…

user3549340
- 121
- 2
- 2
- 7
0
votes
1 answer
Reading MLDv2 queries using an IPv6 socket
I have mrd6 installed on my raspberry pi. It registers with a local interface (tun0) and periodically transmits MLDv2 queries over it.
According to [RFC3810], MLDv2 message types are a subset of ICMPv6 messages, and are identified in IPv6 packets…

SuPra
- 8,488
- 4
- 37
- 30
0
votes
1 answer
How to send a message using TCP/IP to a multicast address in java?
Is it same as sending to any other IP address or is it different?

Shrey
- 93
- 3
- 5
- 12
0
votes
1 answer
How to bind socket to a particular interface in vxWorks
I am trying to bind a socket to a particular network interface on my computer. I have two network interfaces named interf0 and interf1. I want bind socket to a particular interface say interf0. My OS is vxWorks 6.2.
I am trying following code:
…

Jay
- 1,210
- 9
- 28
- 48
0
votes
2 answers
Java Soket cannot send multicast packet on Raspberry Pi
I try to run this code in Raspberry Pi. The socket can receive data from the multicast group, however, it shows the following error when it tries to send data:
pi@raspberrypi:~ $ java Protocol
java.net.MulticastSocket@647e05
java.io.IOException:…

Sean
- 4,267
- 10
- 36
- 50
0
votes
0 answers
Multicast Socket never closed
I'm creating a MulticastSocket at a certain port and then joining a group. Now the socket keeps receiving datapackets as long as they are broadcasted.
So I call the socket.receive in a while loop which is always true. Now I never leave the group.…

Piyush Shandilya
- 75
- 8
0
votes
1 answer
IpMulticast Stops Working after network is lost and then reconnects after 10-15 mins
I am working on a c# based application which is sending messages continuously using Multi-casting. Every thing works fine. The clients at thereceiving end receives messages continuously till the network is disconnected. But when I reconnect the…

Yashwinder
- 59
- 8
0
votes
0 answers
MulticastSocket receiver keep waiting for the message forever
I do not know what it is going bad but I am trying to communicate several different boards using MulticastSocket and the receiver seems to keep waiting the message.
I have to transfer 3 different objects through the net from different clients to…