|
stream_socket_enable_cryptoTurns encryption on/off on an already connected socket Description
mixed stream_socket_enable_crypto
( resource
$stream
, bool $enable
[, int $crypto_type
[, resource $session_stream
]] )Enable or disable encryption on the stream.
Once the crypto settings are established, cryptography can be turned
on and off dynamically by passing Parameters
Return Values
Returns Changelog
Examples
Example #1 stream_socket_enable_crypto example
<?php The above example will output something similar to: |