Server for kys-cpp https://github.com/scarsty/kys-cpp/
Basically a TCP relay between 2 clients, clients are matched by a string id. Using Boost::asio(and coroutine) as the networking library.
- not really a host, but rather Player1
- connect to server on some port
- send len + hostname
- return ok if username is new else err
- awaiting
- Player2
- connect to server on some other port
- send len + hostname
- return ok if host exists else err
- make bridge with host and remove host from awaiting_hosts
forward stuff to each other
accept connection from host and client
map of waiting hosts