Currently using the same socket for both set_pos and get_pos operations. It is a bit fragile, complex and easy to get wrong. Should split into two sockets to reduce the complexity, so that get_pos does not need to bootstrap a response for set_pos, and so that we have better control over what responses to expect from each socket.
Currently using the same socket for both set_pos and get_pos operations. It is a bit fragile, complex and easy to get wrong. Should split into two sockets to reduce the complexity, so that get_pos does not need to bootstrap a response for set_pos, and so that we have better control over what responses to expect from each socket.