Philippe Schommers
Philippe Schommers
Are you talking about the discovery? https://github.com/calmh/syncthing/blob/master/discover/PROTOCOL.md
It is: https://github.com/calmh/syncthing/blob/master/discover/cmd/discosrv/main.go
And there are at least two mDNS libraries for Go if you decide to use it for the local discovery: https://github.com/davecheney/mdns/ https://github.com/armon/mdns
Yes, guess that's always the case on newer languages. For the mDNS thing, of course it doesn't work on Windows... With https://github.com/armon/mdns I get `2014/03/24 17:09:26 [ERR] mdns: Failed to...
For the moment syncthing is standalone, so I don't know if it's good to add a dependency?
``` var ipv6Addr = &net.UDPAddr{ IP: net.ParseIP("ff02::fb"), Port: 5353, } _, err = net.ListenMulticastUDP("udp6", nil, ipv6Addr) if err != nil { fmt.Println(err) } ``` returns `listen udp6 ff02::fb: setsockopt: not...
Yes, I have IPv6 enabled, but I can test on an other computer. ``` net.ListenPacket("udp6", "[ff02::]:21025") ``` works ``` net.ListenMulticastUDP("udp6", nil, "ff02::fb") ``` doesn't work Globally I think `net.ListenPacket` on...
But why should there be two discovery systems when the current one works for all operating systems (I mean maybe, still not sure that it works correctly on Windows)?
Yes I know, but if third party apps want to interact with syncthing running on Windows it wouldn't work, which doesn't solve the problem, neither for Windows nor for the...
Well, depends on the implementation. If ```_mdcProps``` can take an object that says something like: ```jsx { type: String, // defaults to Boolean required: true, // defaults to false addToParent:...