diff --git a/reference/stream/functions/stream-socket-accept.xml b/reference/stream/functions/stream-socket-accept.xml
new file mode 100644
index 0000000000..eea23ae6ef
--- /dev/null
+++ b/reference/stream/functions/stream-socket-accept.xml
@@ -0,0 +1,66 @@
+
+
+
+
+ stream_socket_accept
+
+ Accept a connection on a socket created by stream_socket_server
+
+
+
+ Description
+
+ resourcestream_socket_accept
+ resourceserver_socket
+ inttimeout
+ string&peername
+
+
+ Accept a connection on a socket previously created by
+ stream_socket_server. If
+ timeout is specified, the default
+ socket accept timeout will be overridden with the time
+ specified in seconds. The name (address) of the client
+ which connected will be passed back in peername
+ if included and available from the selected transport.
+
+
+ peername can also be determined later
+ using stream_socket_get_name.
+
+
+ If the call fails, it will return &false;.
+
+
+ See also stream_socket_server,
+ stream_socket_get_name,
+ stream_set_blocking,
+ stream_set_timeout,
+ fgets,
+ fgetss, fputs,
+ fclose, feof, and
+ the Curl extension.
+
+
+
+
+
diff --git a/reference/stream/functions/stream-socket-get-name.xml b/reference/stream/functions/stream-socket-get-name.xml
new file mode 100644
index 0000000000..cadccf47c8
--- /dev/null
+++ b/reference/stream/functions/stream-socket-get-name.xml
@@ -0,0 +1,47 @@
+
+
+
+
+ stream_socket_get_name
+ Retrieve the name of the local or remote sockets
+
+
+ Description
+
+ stringstream_socket_get_name
+ resourcehandle
+ booleanwant_peer
+
+
+ Returns the local or remote name of a given socket connection.
+ If want_peer is set to &true; the remote
+ socket name will be returned, if it is set to &false; the local
+ socket name will be returned.
+
+
+ See also
+ stream_socket_accept
+
+
+
+
+