Hey everyone. What's the correct way to accept multiple TCP connections with a std.net.Server and then close it from another thread?
I assumed calling deinit() on the server would unblock the accept() call and return an error, but it just keeps blocking.
Couldn't find any documentation on whether that's intentional and most tutorials either use the posix sockets directly or... just don't handle multiple connections at all.
Thanks in advance!