[MPlayer-dev-eng] Suggestion: Why not use SO_REUSEADDR for -udp-slave ?

compn tempn at twmi.rr.com
Fri Dec 21 16:39:10 CET 2012


On Fri, 21 Dec 2012 14:56:45 +0100, Reimar Döffinger wrote:
>On 20 Dec 2012, at 09:11, Barry Staes <barrystaes at gmail.com> wrote:
>> Hi devs,
>> 
>> I have been reading udp_sync.c and i wonder why get_udp() is not using the
>> SO_REUSEADDR<http://code.metager.de/source/s?defs=SO_REUSEADDR&project=mplayer>
>> option
>> when establishing the listening socket.
>> 
>> AFAIK: this would allow multiple instances of MPlayer to receive UDP
>> broadcast messages. Thus enabling running multiple slave instances in sync
>> on one computer running Windows or *NIX.
>> 
>> Is there a reason SO_REUSEADDR is not used?
>
>be a really bad thing.

if you can get it working, patch welcome.

-compn


More information about the MPlayer-dev-eng mailing list