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 new network type "localhub" #1216

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

chschnell
Copy link
Contributor

Added a new class LocalhubNetworkAdapter which provides a simple BroadcastChannel-based network to v86 guests.

This networking method allows multiple v86 instances within the same browser process to communicate with each other like in a physical network, but without access to any external networks (it uses the same method as demonstrated in examples/broadcast-network.html).

The URL scheme (for config.net_device.relay_url) of this new networking method is localhub.

Added it to the v86 web interface in main.js because it works out of the box and is a great method to get started with v86 networking.

This PR is only meant to be a proposal, everything is up for debate, if this proposal should get rejected I'd be absolutely fine with the decision, of course.

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