Skip to content

refactoring: extract duplicated code into new_multicast_socket - #515

Merged
keepsimple1 merged 1 commit into
mainfrom
issue-514
Oct 1, 2026
Merged

keepsimple1 merged 1 commit into
mainfrom
issue-514

Conversation

@keepsimple1

@keepsimple1 keepsimple1 commented Oct 1, 2026 •

Copy link
Copy Markdown
Owner

Address the first item in #514 :

IPv4 set_multicast_ttl_v4(255) errors are discarded before retaining the socket.

It's okay to discard as we will use the OS default and the RFC says "should", not "must". The change is to log a debug level log and also extract the common logic for IPv4 and IPv6.

I will also explore the possibility to report such event as "status", but not in this PR.

For other items, we will use different PRs to keep thing focused and easier to track.

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