(PECL event >= 1.2.6-beta)
EventBufferEvent::sslSocket — Creates a new SSL buffer event to send its data over an SSL on a socket
$base ,$socket ,$ctx ,$state ,$options = ?Creates a new SSL buffer event to send its data over an SSL on a socket.
baseAssociated event base.
socketSocket to use for this SSL. Can be stream or socket resource, numeric file descriptor, or null. If socket is null, it is assumed that the file descriptor for the socket will be assigned later, for instance, by means of EventBufferEvent::connectHost() method.
ctxObject of EventSslContext class.
stateThe current state of SSL connection: EventBufferEvent::SSL_OPEN, EventBufferEvent::SSL_ACCEPTING or EventBufferEvent::SSL_CONNECTING.
optionsThe buffer event options.
Returns EventBufferEvent object.