For Programmers: Free Programming Magazines  


Home > Archive > PHP Documentation > December 2004 > cvs: phpdoc /en/reference/stream/functions stream-socket-enable-crypto.xml









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author cvs: phpdoc /en/reference/stream/functions stream-socket-enable-crypto.xml
Nuno Lopes

2004-12-29, 8:56 pm

nlopess Wed Dec 29 15:06:59 2004 EDT

Modified files:
/phpdoc/en/reference/stream/functions
stream-socket-enable-crypto.xml
Log:
return values have changed

http://cvs.php.net/diff.php/phpdoc/...1.2&r2=1.3&ty=u
Index: phpdoc/en/reference/stream/functions/stream-socket-enable-crypto.xml
diff -u phpdoc/en/reference/stream/functions/stream-socket-enable-crypto.xml:1.2 phpdoc/en/reference/stream/functions/stream-socket-enable-crypto.xml:1.3
--- phpdoc/en/reference/stream/functions/stream-socket-enable-crypto.xml:1.2 Fri Aug 20 05:37:00 2004
+++ phpdoc/en/reference/stream/functions/stream-socket-enable-crypto.xml Wed Dec 29 15:06:59 2004
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.2 $ -->
+<!-- $Revision: 1.3 $ -->
<refentry id="function.stream-socket-enable-crypto">
<refnamediv>
<refname>stream_socket_enable_crypto</refname>
@@ -10,7 +10,7 @@
<refsect1>
<title>Description</title>
<methodsynopsis>
- <type>resource</type><methodname>stream_socket_enable_crypto</methodname>
+ <type>mixed</type><methodname>stream_socket_enable_crypto</methodname>
<methodparam><type>resource</type><parameter>stream</parameter></methodparam>
<methodparam><type>bool</type><parameter>enable</parameter></methodparam>
<methodparam choice="opt"><type>int</type><parameter>crypto_type</parameter></methodparam>
@@ -50,7 +50,9 @@
</simpara>

<simpara>
- &return.success;
+ Returns &true; on success, &false; if negotiation has failed or
+ <literal>0</literal> if there isn't enough data and you should try again
+ (only for non-blocking sockets).
</simpara>

<example>
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com