top | item 45162847

(no title)

sgsjchs | 5 months ago

You don't need optional in this case, the assignment would just destroy the old socket and immediately move the new one in its place.

discuss

order

spacechild1|5 months ago

Well, reopening a socket implies that I have manually closed the socket, which does require an optional with your implementation.