[vlc-devel] [PATCH 1/3] contrib: Do not build microdns by default on macOS

Marvin Scholz epirat07 at gmail.com
Sat Oct 29 15:33:41 CEST 2016



On 29 Oct 2016, at 15:18, Rémi Denis-Courmont wrote:

> Le lauantaina 29. lokakuuta 2016, 16.06.21 EEST Rémi Denis-Courmont a 
> écrit :
>> Le lauantaina 29. lokakuuta 2016, 14.58.18 EEST Marvin Scholz a 
>> écrit :
>>> libmicrodns does not work on macOS as bonjour is
>>> used there, so it makes not much sense to build it
>>> on macOS.
>>>
>>> See https://github.com/videolabs/libmicrodns/issues/9
>>
>> We have no problems with two VLC processes using SAP at the same 
>> time, so I
>> don´t really see why there should be a problem with two processes 
>> (VLC or
>> otherwise) using Bonjour?
>
> P.S.: I tried and microdns can do multiple processes on Linux just 
> like SAP.
> So it is a MacOS bug.

It seems SO_REUSEPORT would be needed on some BSD platforms (at least on 
darwin,
not sure about FreeBSD) for this to work.

On macOS this would not help much given that mDNSResponder is already 
running
and the only way to make it bind using SO_REUSEPORT would be to stop it,
bind to the wanted address/port with SO_REUSEPORT and start 
mDNSResponder
again, which then should bind to using SO_REUSEPORT, according to this 
[1]
Stackoverflow answer.

[1]: http://stackoverflow.com/a/7356386/1019236


>
> -- 
> Rémi Denis-Courmont
> Nonsponsored VLC developer
> http://www.remlab.net/CV.pdf
>
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> https://mailman.videolan.org/listinfo/vlc-devel


More information about the vlc-devel mailing list