From c0a352f52e3dc236fddfba9bfd80e4c82c39e610 Mon Sep 17 00:00:00 2001 From: JDW Date: Tue, 24 Jun 2025 16:19:23 -0400 Subject: [PATCH] Proposed changes to socket_atmark() documentation. --- reference/sockets/functions/socket-atmark.xml | 48 ++++++++++++++++--- 1 file changed, 42 insertions(+), 6 deletions(-) diff --git a/reference/sockets/functions/socket-atmark.xml b/reference/sockets/functions/socket-atmark.xml index b1b96f6e5152..6d252c5983f6 100644 --- a/reference/sockets/functions/socket-atmark.xml +++ b/reference/sockets/functions/socket-atmark.xml @@ -44,18 +44,54 @@ &reftitle.examples; - Using <function>socket_atmark</function> to set the source address + Using <function>socket_atmark</function> to check if the socket is ready to read out-of-band data. 0 ); +socket_close( $socketServer ); +socket_close( $socketClient ); +socket_close( $socket ); ?> ]]> + &example.outputs; + + +