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

Helpers to use UDP socket as device #4

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

Conversation

apatrushev
Copy link
Contributor

@apatrushev apatrushev commented Sep 30, 2021

Motivation

smoltcp brings many possibilities to implement virtual networks. implemented helpers brings the fast playground for testing different ideas locally without needs for root privileges and any networking besides localhost.

udp example shows how the virtual network with two endpoints (working in different processes) can be implemented.

@spacemeowx2
Copy link
Owner

Although JoinInterface is not required in the UDP example, I think JoinInterface is a good idea and we can keep it. Thank you for your contribution

@apatrushev
Copy link
Contributor Author

Although JoinInterface is not required in the UDP example, I think JoinInterface is a good idea and we can keep it. Thank you for your contribution

It is used here: https://github.com/spacemeowx2/tokio-smoltcp/pull/4/files#diff-d1cb1fbc19280d7e71f9880a9b7df81b6d93e2f2ab38dd743651be35511e845aR91.

There are definitely a bunch of other ways to implement something like UDP example. ;-)

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