I realize that socket is not thread-safe in general. What about distinguished reading and writing though? If I have exactly two threads operating on the same
socket