multicast

How to support multicast network in Docker

↘锁芯ラ 提交于 2019-12-11 07:22:35
问题 I've met a big problem about the network configuration in docker. The senario is this: 1.I have two eth on my serve : eth0 and eth1: eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 inet 172.17.198.172 netmask 255.255.255.0 broadcast 172.17.198.255 inet6 fe80::250:56ff:fea8:233f prefixlen 64 scopeid 0x20 ether 00:50:56:a8:23:3f txqueuelen 1000 (Ethernet) RX packets 5415657 bytes 2659904664 (2.4 GiB) RX errors 0 dropped 78 overruns 0 frame 0 TX packets 935762 bytes 1824232555 (1.6 GiB

UDP socket multicast

﹥>﹥吖頭↗ 提交于 2019-12-11 03:26:14
问题 I will start by saying that I'm not absolutely a network expert. I'm trying to create a UDP multicast socket system with four RaspBerry Pi model B. Into each Rpi is running a listening script (I will call it " listen.py ") socket client. Case 1 - I'm perfectly able to send datagram if I run the socket server (I will call it " server.py ") directly inside of the Rpi (by SSH, with my laptop as well). I have: -listen.py on boot of the Rpi (here I create a socket client); -I run the server.py

UDP socket network disconnect behavior on Windows-Linux-Mac

戏子无情 提交于 2019-12-11 03:25:39
问题 I made an application using boost.Asio using UDP multicast. I don't think the question is really specific to boost.Asio but to sockets programming in general, since boost.Asio's network facilities are mostly wrappers to socket functions. I constructed the application based on the multicast examples ( http://www.boost.org/doc/libs/1_44_0/doc/html/boost_asio/example/multicast/receiver.cpp and ~/sender.cpp) and I deployed it on several machines running on Windows, Linux and a Mac with OSX

How to Convert Rtp Multicast Stream from DVB-T to HLS?

↘锁芯ラ 提交于 2019-12-11 01:55:15
问题 I use Mumudvb to get signal from dvb-t and dvb-s to RTP Multicast stream and successfully do that, The result stream URL is something like rtp://239.1.2.1:60001. Now i want to know How can i convert RTP (Or UDP)stream to Http Live Stream (HLS)? Edit : I could convert live stream with ffmpeg, but its not stable, when an error occurred in ffmpeg the conversation stop and there is no way to found fail and for example restart ffmpeg, I am looking for new way for that convert operation. Thanks a

C# UDP Multicast disconnects after a few seconds

一曲冷凌霜 提交于 2019-12-10 22:14:05
问题 I have some networking code which connects to a multicast address but disconnects after a few seconds. Can anyone figure out what's wrong with this code? String Target_IP = "224.1.2.3"; int Target_Port = 31337; IPEndPoint LocalEP = new IPEndPoint(IPAddress.Any, Target_Port); IPEndPoint RemoteEP = new IPEndPoint(IPAddress.Parse(Target_IP), Target_Port); using (Socket s = new Socket(AddressFamily.InterNetwork, SocketType.Dgram, ProtocolType.Udp)) { s.SetSocketOption(SocketOptionLevel.Socket,

Reliable multicasting in Java

泪湿孤枕 提交于 2019-12-10 14:14:42
问题 What are modern approaches for Reliable multicasting in Java world? Searching the Web, I've came up with JGroups and JRMS. JGroups seem to be an overkill in my situation (I want to have a set of identical nodes which cooperate together and make them able to join this group by notifying every existing node). JRMS looks like being already dead. I was unable to find any particular implementation of PGM protocol for Java. 回答1: Have a look a jmdns which implements Zeroconf (Apple Bonjour) in pure

Bidirectional UDP Multicast

心不动则不痛 提交于 2019-12-10 11:57:44
问题 I am writing a network backend for a game server. I planned on using multicast, so that clients could bind to the server via a multicast socket. The server could then send game updates to all members of the group. I'm wondering, however, if it's possible to do the reverse — can clients send unicast data to the server, over the same port as the multicast socket ? I've written a test program based off of the Java Tutorials (which only sends server —> client), but I was unable to adapt that to

Listening for IPv6 multicasts on Linux

拈花ヽ惹草 提交于 2019-12-10 10:04:58
问题 I'm trying to get a simple multicasting example to work on Linux (I've tried both RHEL 4 2.6.9 and Ubuntu 8.04 2.6.24). The general idea is that I would like the server to bind to a unicast address and then add itself to the group ff02::1. I would then like it to receive multicasts sent to ff02::1. The code below works on Mac OS X 10.5 (in fact, a server running on OS X gets multicasts sent from Linux clients), but I can't get the Linux server side to work. It doesn't get any multicasts. If I

Replace VLC plugin for Multicast (NPAPI Deprecated)

ⅰ亾dé卋堺 提交于 2019-12-08 14:54:06
问题 we were using the vlc plugin in Chrome to play a multicast stream (RTP Ipv6) but with the deprecation of NPAPI-Plugins we need an alternative. I was trying to search something about html5 video but nothing. NPAPI deprecation: developer guide Any idea? Thanks 回答1: RTP directly to the browser is not a solution I'd use today. The implementation effort to transform a number of RTP packets to Media Segments accepted by the Media Source Extension (MSE) is rather high and perhaps it's not even

How to have two multicast sockets listen to two multicast channels with same port

。_饼干妹妹 提交于 2019-12-08 12:33:13
问题 I have broadly the following multicast socket code. It works fine. Now I need to join two multicast channels on the same machine like 224.10.13.18 - 55001 224.10.13.34 - 55001 and depending on which ip address it came from, I need to treat the message differently. The question is to how to use create two sockets for multicast channels where the port values are same, such that each socket only returns read on data that is sent to that channel. /* create socket to join multicast group on */