What is the meaning of the "socket hang up" error?
If I’m not mistaken, it means that the peer has closed the connection. In that case, how is it different from the "connection reset by peer" error?
Can "socket hang up" appear on non-stream sockets, like UDP?