$ 0 0 The library is open source, so please read it and see how the SocketException is caught and how the TimeoutException is generated.