Skip to content

Conversation

sarg
Copy link

@sarg sarg commented May 14, 2025

Fixes #688.

@sarg
Copy link
Author

sarg commented May 14, 2025

Example usage:

# list registrations
../usr/libexec/termux-api Nsd --es command list

# register service
../usr/libexec/termux-api Nsd --es name "termux" --es type "_termux._tcp" --ei port 9090 --es command register

# unregister by id
../usr/libexec/termux-api Nsd --es id "uuid" --es command unregister

# unregister by name and type
../usr/libexec/termux-api Nsd --es name "termux" --es type "_termux._tcp" --es command unregister

The result is a json object.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

mDNS discovery support
1 participant