From: Jason Greene Date: Thu, 7 Mar 2002 00:24:30 +0000 (+0000) Subject: MFH X-Git-Tag: php-4.2.0RC1~75 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=dd955a3b414fac53d04b96ff3b71c6a8341c570f;p=php MFH --- diff --git a/NEWS b/NEWS index c2e1fef480..86cbfe4d53 100644 --- a/NEWS +++ b/NEWS @@ -1,6 +1,21 @@ 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 the differences are: it prints no HTTP headers, displays plain text