Lines Matching refs:Socket
35 import java.net.Socket;
40 * See there for things to consider when implementing a socket factory.
49 * Returns a socket connected to the given host that is layered over an
50 * existing socket. Used primarily for creating secure sockets through
53 * @param socket the existing socket
56 * @param autoClose a flag for closing the underling socket when the created
57 * socket is closed
59 * @return Socket a new socket
61 * @throws IOException if an I/O error occurs while creating the socket
65 Socket createSocket(
66 Socket socket,