Note/link for message propagation

This commit is contained in:
Greg Heartsfield 2021-11-24 15:44:18 -06:00
parent 6411aab7f9
commit 2da46501ca

View File

@ -41,6 +41,9 @@ fn main() -> Result<(), Error> {
Ok(()) Ok(())
} }
// Todo: Implement sending messages to all other clients; example:
// https://github.com/snapview/tokio-tungstenite/blob/master/examples/server.rs
// Handles new TCP connections // Handles new TCP connections
async fn nostr_server(stream: TcpStream) { async fn nostr_server(stream: TcpStream) {
let addr = stream let addr = stream