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.
57 * Creates a new, unconnected socket.
58 * The socket should subsequently be passed to
61 * @return a new socket
63 * @throws IOException if an I/O error occurs while creating the socket
65 Socket createSocket()
71 * Connects a socket to the given host.
73 * @param sock the socket to connect, as obtained from
75 * <code>null</code> indicates that a new socket
79 * @param localAddress the local address to bind the socket to, or
85 * @return the connected socket. The returned object may be different
92 * @throws ConnectTimeoutException if the socket cannot be connected
95 Socket connectSocket(
96 Socket sock,
106 * Checks whether a socket provides a secure connection.
107 * The socket must be {@link #connectSocket connected}
115 * socket to a host in the same intranet ("trusted zone")
117 * TLS/SSL socket could be considered insecure based on
120 * @param sock the connected socket to check
122 * @return <code>true</code> if the connection of the socket
128 * not a connected socket or was created by a different
129 * socket factory.
130 * Note that socket factories are <i>not</i> required to
132 * value when called with an invalid socket argument.
134 boolean isSecure(Socket sock)