Home | History | Annotate | Download | only in net

Lines Matching refs:connect

59      *                           to connect to the given proxy.
135 * @param dstName the address of the remote host to connect to
136 * @param dstPort the port to connect to on the remote host
143 public void connect(String dstName, int dstPort, int timeout)
145 if (DBG) log("connect(dstName, dstPort, timeout) EX");
151 * @param dstName the address of the remote host to connect to
152 * @param dstPort the port to connect to on the remote host
157 public void connect(String dstName, int dstPort)
159 if (DBG) log("connect(dstName, dstPort, timeout) EX");
165 * @deprecated Use {@code connect(String dstName, int dstPort, int timeout)}
167 * @param remoteAddr the address and port of the remote host to connect to
175 public void connect(SocketAddress remoteAddr, int timeout)
177 if (DBG) log("connect(remoteAddr, timeout) EX DEPRECATED");
183 * TODO add comment on all these that the network selection happens during connect
185 * @deprecated Use {@code connect(String dstName, int dstPort)}
187 * @param remoteAddr the address and port of the remote host to connect to.
194 public void connect(SocketAddress remoteAddr) throws IOException {
195 if (DBG) log("connect(remoteAddr) EX DEPRECATED");
199 * Connect a duplicate socket socket to the same remote host address and port
205 public void connect(int timeout) throws IOException {
206 if (DBG) log("connect(timeout) EX");
210 * Connect a duplicate socket socket to the same remote host address and port
215 public void connect() throws IOException {
216 if (DBG) log("connect() EX");