| ▲ | svnt 6 hours ago | ||||||||||||||||||||||
> I am working on a high-performance game that runs over ssh. Found your problem. But it is an interesting world where you can casually burrow into a crypto library and disable important security features more easily than selecting the right network layer solution. | |||||||||||||||||||||||
| ▲ | eieio 6 hours ago | parent | next [-] | ||||||||||||||||||||||
the obtuseness is the point! This is true of a lot of my work[1][2][3]. The problems you run into when doing things you shouldn't do are often really fun. [1] https://news.ycombinator.com/item?id=42342382 | |||||||||||||||||||||||
| |||||||||||||||||||||||
| ▲ | ycombinatrix 6 hours ago | parent | prev [-] | ||||||||||||||||||||||
Yea UDP is technically more performant, but then you need a crypto layer + reliable message delivery layer + bespoke client. Using a plain old SSH client is cool. However, there are existing libraries for exactly this use case - see https://github.com/ValveSoftware/GameNetworkingSockets I guess QUIC libraries would also work. | |||||||||||||||||||||||
| |||||||||||||||||||||||