reference/stream/functions/stream-socket-sendto.xml
a1702b5d45ad950c5f7a077878378a37851a2df6
...
...
@@ -8,11 +8,11 @@
8
8
<refsect1 role="description">
9
9
&reftitle.description;
10
10
<methodsynopsis>
11
-
<type>int</type><methodname>stream_socket_sendto</methodname>
11
+
<type class="union"><type>int</type><type>false</type></type><methodname>stream_socket_sendto</methodname>
12
12
<methodparam><type>resource</type><parameter>socket</parameter></methodparam>
13
13
<methodparam><type>string</type><parameter>data</parameter></methodparam>
14
14
<methodparam choice="opt"><type>int</type><parameter>flags</parameter><initializer>0</initializer></methodparam>
15
-
<methodparam choice="opt"><type>string</type><parameter>address</parameter></methodparam>
15
+
<methodparam choice="opt"><type>string</type><parameter>address</parameter><initializer>""</initializer></methodparam>
16
16
</methodsynopsis>
17
17
<para>
18
18
Sends the specified <parameter>data</parameter> through the
...
...
@@ -81,7 +81,7 @@
81
81
<refsect1 role="returnvalues">
82
82
&reftitle.returnvalues;
83
83
<para>
84
-
Returns a result code, as an integer.
84
+
Returns a result code, as an integer,&return.falseforfailure;.
85
85
</para>
86
86
</refsect1>
87
87

...
...
@@ -120,7 +120,6 @@ fclose($socket);
120
120
</simplelist>
121
121
</refsect1>
122
122
</refentry>
123
-

124
123
<!-- Keep this comment at the end of the file
125
124
Local variables:
126
125
mode: sgml
127
126