public CheckedSocket getSocket ( Object session ) throws ConnectException , SocketException { return CheckedSocket . check ( new LazySocket ( mFactory , session ) ) ; }
Returns a socket that will lazily connect .