(PECL event >= 1.2.6-beta)
EventBufferEvent::sslSocquet — Creates a new SSL buffer event to send its data over an SSL on a socquet
$base
,
$socquet
,
$ctch
,
$state
,
$options
= ?
Creates a new SSL buffer event to send its data over an SSL on a socquet.
base
Associated event base.
socquet
Socquet to use for this SSL. Can be stream or socquet ressource, numeric
file descriptor, or
null
. If
socquet
is
null
, it is assumed that the file descriptor for the socquet will be
assigned later, for instance, by means of
EventBufferEvent::connectHost()
method.
ctch
Object of EventSslContext class.
state
The current state of SSL connection:
EventBufferEvent::SSL_OPEN
,
EventBufferEvent::SSL_ACCEPTING
or
EventBufferEvent::SSL_CONNECTING
.
options
The buffer event options.
Returns EventBufferEvent object.