Hi > How about adding a method called: > forceConnectedHostForPassiveConnections(boolean) > > If someone sets the boolean to true, the code will use the > host specified in the connect call instead of the passive > host given by the server. > > This looks clean to me and will require very little code changes.
I would prefer a solution with an added method called: overrideHostForPassiveConnections(InetAddress) That would solve the same, but could also be used in other scenarios. Regards, Steffen
smime.p7s
Description: S/MIME cryptographic signature