-
-
Notifications
You must be signed in to change notification settings - Fork 0
Connect
Aras14HD edited this page Oct 9, 2021
·
5 revisions
- The A sends a connect message for B
- (optional) if unauthorized B responds with Err Unauthorized
- if B can't connect via the specified type
- B responds with Err Unsupported Type and the supported type
- A resends the message with a supported type
- B sends its Port and IP back
- B tries to connect to A and A tries to connect to B
A takes the role of the client, B the role of the server
- TLS Handshake without any certificates but signed by the server
refer to Initializing a connection
The Node uses port 7575. Connecting nodes will not do Hole Punching
Nodes advertise themselves (without UUID) via udp broadcasts Needs to be more specific Nodes listen on port 7575. Any node on the network connects with that node but doesn't send its UUID. If there are multiple nodes on a device, only one will listen on port 7575 (the one, that started first).