[CentOS] udp stream multiply

Wed Feb 17 13:35:46 UTC 2010
Les Mikesell <lesmikesell at gmail.com>

Jure Pečar wrote:
> On Wed, 17 Feb 2010 12:36:33 +0100
> Nicolas Thierry-Mieg <Nicolas.Thierry-Mieg at imag.fr> wrote:
> 
>> if you control the app on the destinations, you could use multicast?
>> Otherwise maybe broadcast on your LAN, all interested clients can pick 
>> up the packets.
> 
> Yes, these are the options, but what if I'm limited to unicasts? How do I take one packet, clone it into three, change destination address and send them out?

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.

-- 
   Les Mikesell
    lesmikesell at gmail.com