Home | History | Annotate | Download | only in scheme

Lines Matching refs:Socket

36 import java.net.Socket;
44 * The factory encapsulates the logic for establishing a socket connection.
62 * Creates a new, unconnected socket.
63 * The socket should subsequently be passed to
66 * @return a new socket
68 * @throws IOException if an I/O error occurs while creating the socket
70 Socket createSocket()
76 * Connects a socket to the given host.
78 * @param sock the socket to connect, as obtained from
80 * <code>null</code> indicates that a new socket
84 * @param localAddress the local address to bind the socket to, or
90 * @return the connected socket. The returned object may be different
97 * @throws ConnectTimeoutException if the socket cannot be connected
100 Socket connectSocket(
101 Socket sock,
111 * Checks whether a socket provides a secure connection.
112 * The socket must be {@link #connectSocket connected}
120 * socket to a host in the same intranet ("trusted zone")
122 * TLS/SSL socket could be considered insecure based on
125 * @param sock the connected socket to check
127 * @return <code>true</code> if the connection of the socket
133 * not a connected socket or was created by a different
134 * socket factory.
135 * Note that socket factories are <i>not</i> required to
137 * value when called with an invalid socket argument.
139 boolean isSecure(Socket sock)