Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add ssdp listener and notifier. graceful shutdown not yet implemented #20

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dmeliza
Copy link
Member

@dmeliza dmeliza commented Jan 4, 2024

Simple Service Discovery Protocol is a UDP multicast protocol that will enable a babysitter to discover running instances of decide-core on a local network.

This pull request adds two tasks to decide-core, one that responds to discovery requests, and another that emits SSDP notifications at intervals of a minute or so. The tasks are not well integrated into the overall application yet, and I haven't figured out how to catch and handle Ctrl-C/SIGINT in a way that gracefully shuts down both the SSDP notifier (which would cause it to emit the "ssdp:byebye" message), but it should provide enough basic functionality to start work on the babysitter. A more detailed look at how we handle shutdowns (see issue #18) is needed.

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.

1 participant