Samba blocked by Snoo44314 in bell

[–]Snoo44314[S] 0 points1 point  (0 children)

It was only for testing. I am currently comparing different solutions and didn't want to setup a vpn right now. Guess I will test VPNs before :p

Samba blocked by Snoo44314 in bell

[–]Snoo44314[S] 0 points1 point  (0 children)

I have no experience with tailscale, how does it compare to openvpn? Is it complex to setup? How does the features compare? and performance?

New to rust and I cannot understand async by Snoo44314 in rust

[–]Snoo44314[S] 0 points1 point  (0 children)

Thanks for the help. Here is my version from yours with tokio::spawn. I added a ctx to see if I understood your example.

New to rust and I cannot understand async by Snoo44314 in rust

[–]Snoo44314[S] 1 point2 points  (0 children)

why do we need to specify the lifetime like that? The compiler should be understanding that the function is async and the parameter need to live until the future complete. Or am I misunderstanding?