From d88701e3e6d539df0b20bf380434b817e79d55ac Mon Sep 17 00:00:00 2001 From: Jason Greene Date: Thu, 7 Mar 2002 00:13:27 +0000 Subject: [PATCH] Add news entries representing the sockets rework. #I had a hard time with the style due to the number of entries #Feel free to make any changes --- NEWS | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/NEWS b/NEWS index fd31fa1ca0..86cbfe4d53 100644 --- a/NEWS +++ b/NEWS @@ -1,6 +1,20 @@ PHP 4 NEWS ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| ?? ??? 2002, Version 4.2.0 +- Introduced major modifications to the Sockets Extension and its API (Jason): + . Fixed numerous bugs. + . Added automatic host lookup capability to all functions that take addr's + . ex. socket_connect($sock, 'www.yahoo.com', 80); + . Corrected and standardized host lookup errors + . Modified socket_recv() behavior. [$r=socket_recv($sock, $buf, $len, $flags)] + . Added socket_set_block() which changes a socket into blocking IO mode + . Modified socket_last_error() to not clear the last error + . Added socket_clear_error() which clears the last error on a socket + . Removed all code pertaining to fd_sets (socket_fd_*) + . Modfied/Improved socket_select() to take resource arrays instead of fd_sets + ex. - Returned iconv support to FreeBSD (kalowsky) - Added CLI (command line intrerface) sapi based on a cut-down version of the CGI sapi which is more suited for writing shell scripts. Some of -- 2.40.0