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

New CoAPClient creator method using a standard socket #103

Merged

Conversation

hubertmis
Copy link
Contributor

In some scenarios it's useful to have control over advanced socket configuration. These advanced settings are available in the socket2 crate. To create CoAPClient instances using sockets with these advanced settings, we need a creator method capable of using standard-socket-compatible socket instance that can be explicitly configured by the API user.

In my scenario I need to set the number of hops for multicast datagrams with scope larger than link-local to allow routing multicast traffic between sub-networks in my site.

In some scenarios it's useful to have control over advanced socket
configuration. These advanced settings are available in the socket2
crate. To create CoAPClient using sockets with these advanced
settings, we need a creator method capable of using standard-socket-
compatible socket instance that can be explicitly configured by the
API user.
Cargo.toml Show resolved Hide resolved
@Covertness Covertness merged commit 783a7b5 into Covertness:master Sep 4, 2024
2 checks passed
@coveralls
Copy link

Coverage Status

coverage: 82.036% (-0.2%) from 82.19%
when pulling e64c209 on hubertmis:pr/udp-client-from-std-socket
into eef2f06 on Covertness:master.

@hubertmis hubertmis deleted the pr/udp-client-from-std-socket branch September 4, 2024 16:17
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.

3 participants