PHP » PYTHON |
login |
register |
about
|
PYTHON stream_socket_enable_crypto
(3)
Python replacement for PHP's stream_socket_enable_crypto
[
edit
]
PHP stream_socket_enable_cryptoPHP original manual for stream_socket_enable_crypto [ show | php.net ]stream_socket_enable_crypto(PHP 5 >= 5.1.0) stream_socket_enable_crypto — Turns 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 TRUE or FALSE in the enable parameter. Parameters
Return ValuesReturns TRUE on success, FALSE if negotiation has failed or 0 if there isn't enough data and you should try again (only for non-blocking sockets). Examples
Example #1 stream_socket_enable_crypto() example
<?php The above example will output something similar to:
|
more
Recently updated
more
Most requested
more
Last requests
|