title: Non blocking connect in Java
body: <p>What is the best way to accomplish a non blocking TCP connect in Java? I want to be able to use the socket with ordinary streams (occasionally SSL). I also have to target Android 2.1, so I can't afford the latest and the greatest.</p>