3 ms·
How does the relay server work? As in, does the developer maintain and fund it out of pocket? That seems to me to be quite costly.
by air7 6y ago
How does the relay server work? As in, does the developer maintain and fund it out of pocket? That seems to me to be quite costly.
- qrv3w 6y ago> How does the relay server work? Basically the relay server is a dumb switchboard. It waits for a connection to established with an identifier. When two connections with the same identifier are found, the relay server pipes the data between them. Security is ensured by having each connection to the relay use PAKE. Once the two clients connected via the relay they establish their own communication securely using PAKE, so neither the relay (nor anyone else) can decipher the transfer. If you use croc locally, you actually don't use the public relay as the two clients can automatically discover themselves with peer discovery. [1] > does the developer maintain and fund it out of pocket? That seems to me to be quite costly. Yes, I've maintain it and funded it out of pocket for a few years. Recently, I've gotten Github sponsor support that helps. [2] It's not too costly. [1]: https://github.com/schollz/peerdiscovery/ https://github.com/schollz/peerdiscovery/ [2]: https://github.com/sponsors/schollz https://github.com/sponsors/schollz