Lines Matching full:socket
16 #include <zephyr/posix/sys/socket.h>
59 * OpenSSL implementation for SSL socket interface.
79 * Determine whether the SSL socket is server or client mode.
102 * Determines whether SSL Socket is libevent safe or not.
124 * Constructor, create an instance of TSSLSocket given an existing socket.
126 * @param socket An existing socket
128 TSSLSocket(std::shared_ptr<SSLContext> ctx, THRIFT_SOCKET socket,
131 * Constructor, create an instance of TSSLSocket given an existing socket that can be
134 * @param socket An existing socket
136 TSSLSocket(std::shared_ptr<SSLContext> ctx, THRIFT_SOCKET socket,
173 * Waits for an socket or shutdown event.
177 * @return TSSL_EINTR if EINTR happened on the underlying socket
178 * TSSL_DATA if data is available on the socket.
198 * SSL socket factory. SSL sockets should be created via SSL factory.
209 * it might create. If this is not guaranteed, a socket may call into
210 * openssl after the socket factory has cleaned up openssl! This
225 * Create an instance of TSSLSocket with a fresh new socket.
229 * Create an instance of TSSLSocket with a fresh new socket, which is interruptable.
234 * Create an instance of TSSLSocket with the given socket.
236 * @param socket An existing socket.
238 virtual std::shared_ptr<TSSLSocket> createSocket(THRIFT_SOCKET socket);
240 * Create an instance of TSSLSocket with the given socket which is interruptable.
242 * @param socket An existing socket.
245 createSocket(THRIFT_SOCKET socket, std::shared_ptr<THRIFT_SOCKET> interruptListener);
314 * Determine whether the socket is in server or client mode.
439 * @param sa Peer IP address retrieved from the underlying socket