Why does the wayland socket have a lock file associated with it

I was looking at the wayland server implementation in Rust

And I see that they also have an associated lockfile. Why is this needed? Wouldn't an attempt to bind to an already in use socket throw an error anyways?

This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.