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

Added support for dual mode socket (IPv4 and IPv6) at the same time. #15

Merged
merged 2 commits into from
Oct 12, 2018

Conversation

Lybecker
Copy link
Contributor

See how to solve it here: http://www.lybecker.com/blog/2018/08/23/supporting-ipv4-and-ipv6-dual-mode-network-with-one-socket/

A solution for issue #14

It does not include test coverage, as the BCL does not offer any way of iterating open ports. Thought about creating simple integration test. Thoughts?

@@ -61,6 +61,8 @@ public HelloResource(string uri) : base(uri)

public override CoapMessage Get(CoapMessage request)
{
Console.WriteLine($"Got request: {request}");
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not needed, but I added it to make it visible when the server received a request

@NZSmartie NZSmartie merged commit 554e60c into NZSmartie:master Oct 12, 2018
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.

2 participants