charliefoxtwo / TouchDCS

An application for interfacing with DCS-BIOS using TouchOSC (or potentially other OSC applications).
GNU General Public License v3.0
35 stars 2 forks source link

Add zeroconf support #3

Open charliefoxtwo opened 3 years ago

charliefoxtwo commented 3 years ago

TouchOSC uses zeroconf for a lot of setup. It would be nice if we could use it as well in order to simplify adding new devices.

It looks like the key TouchOSC uses is _osc._udp.local

rhaleblian commented 1 year ago

Seeing some claims that Windows cannot do Zeroconf out of the box, but I don't believe that, even given all the code released out there for Zeroconf under C#. Maybe their Windows and ours (Windows 10, .NET 5) are different.

I am thinking primarily about service discovery (eg "where is the TouchOSC device?"), but is there a service advertisement component?

rhaleblian commented 1 year ago

https://github.com/richardschneider/net-mdns

Built a quick console app under .NET Core 3 which discovered an _osc service coming from my iPad. That's nice.

Q: will it work under .NET 5? Q: does adding this nuGet package alter the user installation dependencies?

rhaleblian commented 1 year ago

image

charliefoxtwo commented 1 year ago

Given that the TouchOSC desktop app uses zeroconf (I believe) to discover devices and to be discovered, it should work. I think I tried this a while ago and I don't remember why I abandoned it 🤔

rhaleblian commented 1 year ago

uses zeroconf (I believe)

Correct, I also believe.