I would recommend using either separate ports or separate RPC gateway paths, or, just never closing the socket but instead making the RPC interface methods stateful, creating a method to check the state, and an error code to correspond to a method called on the wrong state.

Reply to this note

Please Login to reply.

Discussion

No replies yet.