I am experimenting with the Socketconnector class.
I noticed that when the socket connection fails, it will trigger the onError callback, but in the next SocketReactor run cycle
Socket::select(readable, writable, except, _timeout)
throws an error, which causes the socketreactor thread (it was started in its own thread) to stop running. Is this the desired behavior?
Does that mean every Socketconnector instance needs its own dedicated SocketReactor?
And finally another question, in most papers where the connector-adaptor pattern is described, it is possible to have multiple ServiceHandlers connected to one Connector. Am I correct to assume that in the Poco implementation a socketconnector can only instantiate one ServiceHandler? (Since the connect can only happen in the SocketConnector constructor)