diff --git a/reference/stream/functions/stream-get-contents.xml b/reference/stream/functions/stream-get-contents.xml
new file mode 100644
index 0000000000..56727b6ee1
--- /dev/null
+++ b/reference/stream/functions/stream-get-contents.xml
@@ -0,0 +1,51 @@
+
+
+
+
+ stream_get_contents
+ Reads remainder of a stream into a string
+
+
+ Description
+
+ stringstream_get_contents
+ resourcehandle
+ intmaxlength
+
+
+ Identical to file_get_contents, except that
+ stream_get_contents operates on an already open
+ file resource and returns the remainiing contents, up to
+ maxlength bytes, in a string.
+
+ ¬e.bin-safe;
+ &tip.fopen-wrapper;
+
+ See also:
+ fgets,
+ fread, and
+ fpassthru.
+
+
+
+
+
diff --git a/reference/stream/functions/stream-socket-recvfrom.xml b/reference/stream/functions/stream-socket-recvfrom.xml
new file mode 100644
index 0000000000..f78c87c43d
--- /dev/null
+++ b/reference/stream/functions/stream-socket-recvfrom.xml
@@ -0,0 +1,104 @@
+
+
+
+
+ stream_socket_recvfrom
+ Receives data from a socket, connected or not
+
+
+ Description
+
+ stringstream_socket_recvfrom
+ resourcesocket
+ intlength
+ intflags
+ string&address
+
+
+ The function stream_socket_recvfrom accepts
+ data from a remote socket up to length bytes.
+ If address is provided it will be populated with
+ the addres of the remote socket.
+
+
+ The value of flags can be any combination
+ of the following:
+
+ possible values for flags
+
+
+
+ STREAM_OOB
+
+ Process OOB (out-of-band) data.
+
+
+
+ STREAM_PEEK
+
+ Retrieve data from the socket, but do not consume the buffer.
+ Subsequent calls to fread or
+ stream_socket_recvfrom will see
+ the same data.
+
+
+
+
+
+
+
+ stream_socket_sendto Example
+
+
+]]>
+
+
+
+ See also
+ stream_socket_sendto,
+ stream_socket_client, and
+ stream_socket_server.
+
+
+
+
+
diff --git a/reference/stream/functions/stream-socket-sendto.xml b/reference/stream/functions/stream-socket-sendto.xml
new file mode 100644
index 0000000000..9edb109441
--- /dev/null
+++ b/reference/stream/functions/stream-socket-sendto.xml
@@ -0,0 +1,89 @@
+
+
+
+
+ stream_socket_sendto
+ Sends a message to a socket, whether it is connected or not
+
+
+ Description
+
+ intstream_socket_sendto
+ resourcesocket
+ stringdata
+ intflags
+ stringaddress
+
+
+ The function stream_socket_sendto sends
+ the data specified by data through the
+ socket specified by socket. The address
+ specified when the socket stream was created will be used unless
+ an alternate address is specifed in address.
+
+
+ The value of flags can be any combination
+ of the following:
+
+ possible values for flags
+
+
+
+ STREAM_OOB
+
+ Process OOB (out-of-band) data.
+
+
+
+
+
+
+
+ stream_socket_sendto Example
+
+
+]]>
+
+
+
+ See also
+ stream_socket_recvfrom,
+ stream_socket_client, and
+ stream_socket_server.
+
+
+
+
+