[CentOS] udp stream multiply

Wed Feb 17 18:32:21 UTC 2010
John R Pierce <pierce at hogranch.com>

Jure Pečar wrote:
> On Wed, 17 Feb 2010 07:35:46 -0600
> Les Mikesell <lesmikesell at gmail.com> wrote:
>
>   
>> I don't think there is a generic tool for that, but it would be fairly simple to 
>> write a C program to do exactly what you want.  If it is something like a video 
>> or audio stream you might get vlc (videolan client) to receive and convert to 
>> multicast.
>>     
>
> Ok, seems like the right time to dust off my C skillz and learn some socket & network programming :)
>   

probably be pretty easy in perl or python...

perhaps start with this, 
http://perldoc.perl.org/perlipc.html#UDP%3a-Message-Passing
and turn it around so its listening for one UDP socket coming in, and 
sending it to however many destinations you need.