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

Permit connect with UID at an Addr #46

Merged
merged 11 commits into from
Apr 5, 2023
Merged

Conversation

QuantumEntangledAndy
Copy link
Owner

@QuantumEntangledAndy QuantumEntangledAndy commented Mar 3, 2023

Should allow us to connect Local without the broadcast if we know the UID and the address

Just include both UID and Address in the config

@QuantumEntangledAndy
Copy link
Owner Author

This works by:

If given an address try TCP connection at the given address + port 9000
If a UID is given try the usual discovery methods
If a UID+address is given try TCP at the given address+port900 and try local discovery at the given address + ports 2015,2018

TCP is preffered over UDP, then local discovery, remote, map and finally relay

This allows either UDP or TCP if both an address
and a UID are given. They are resolved with this
preference: TCP, Local, Remote, Map, Relay
@QuantumEntangledAndy QuantumEntangledAndy merged commit b45aee2 into master Apr 5, 2023
@QuantumEntangledAndy QuantumEntangledAndy deleted the feature/UidAddr branch April 5, 2023 11:10
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