Define the domain of SocketState transitions. Label every such transition.
For every label of a SocketState transition and a success value of the transition, define its result.