Home
last modified time | relevance | path

Searched refs:defaultConnectTimeout (Results 1 – 2 of 2) sorted by relevance

/libcore/ojluni/src/main/java/sun/net/
DNetworkClient.java60 protected static int defaultConnectTimeout; field in NetworkClient
84 defaultConnectTimeout = vals[1];
177 if (defaultConnectTimeout > 0) { in doConnect()
178 s.connect(new InetSocketAddress(server, port), defaultConnectTimeout); in doConnect()
/libcore/ojluni/src/main/java/sun/net/ftp/impl/
DFtpClient.java54 private static int defaultConnectTimeout; field in FtpClient
132 defaultConnectTimeout = -1;
134 defaultConnectTimeout = vals[1];
679 if (defaultConnectTimeout > 0) { in openPassiveDataConnection()
680 s.connect(dest, defaultConnectTimeout); in openPassiveDataConnection()
778 if (defaultConnectTimeout > 0) { in openDataConnection()
779 portSocket.setSoTimeout(defaultConnectTimeout); in openDataConnection()
967 if (defaultConnectTimeout > 0) { in doConnect()
968 s.connect(dest, defaultConnectTimeout); in doConnect()