From 5fd00495ce894cd7b626dc762abe11cad1415577 Mon Sep 17 00:00:00 2001 From: lacatoire Date: Sun, 17 May 2026 19:55:59 +0200 Subject: [PATCH] [Sync EN] socket_atmark: rewrite example to demonstrate OOB read --- reference/sockets/functions/socket-atmark.xml | 50 ++++++++++++++++--- 1 file changed, 43 insertions(+), 7 deletions(-) diff --git a/reference/sockets/functions/socket-atmark.xml b/reference/sockets/functions/socket-atmark.xml index 02438f1a4..ab97777fa 100644 --- a/reference/sockets/functions/socket-atmark.xml +++ b/reference/sockets/functions/socket-atmark.xml @@ -1,5 +1,5 @@ - + @@ -45,18 +45,54 @@ &reftitle.examples; - Uso de <function>socket_atmark</function> para definir la dirección fuente + Uso de <function>socket_atmark</function> para comprobar si el socket está listo para leer datos fuera de banda. 0 ); +socket_close( $socketServer ); +socket_close( $socketClient ); +socket_close( $socket ); ?> ]]> + &example.outputs; + + +