chipsenkbeil / distant

🚧 (Alpha stage software) Library and tooling that supports remote filesystem and process operations. 🚧
https://distant.dev
566 stars 11 forks source link

SSDP or similar to detect existing distant instances #2

Open chipsenkbeil opened 3 years ago

chipsenkbeil commented 3 years ago

See example of SSDP in Rust here: https://github.com/johnstonskj/rust-upnp

Specifically, an example of some of the relevant fields and constants are here: https://github.com/johnstonskj/rust-upnp/blob/master/src/discovery/protocol.rs

chipsenkbeil commented 2 years ago

Also check out the following for a simple example of an ssdp server using tokio: https://github.com/chengyuhui/tokio-ssdp/blob/master/src/server.rs

chipsenkbeil commented 1 year ago

Offer this in a couple of ways:

  1. Cli can display available servers running locally (showing port)
  2. Cli can display available managers running locally (showing pipe name or unix domain socket)

Something like distant list servers or distant list managers.