#
f75db1e3 |
| 20-Aug-2000 |
Sterling Hughes |
A Whole buncha stuff, mostly bug fixing... - Make constants case-sensitive, conforming with the rest of PHP & the C API. - Make module compatible with thread safet
A Whole buncha stuff, mostly bug fixing... - Make constants case-sensitive, conforming with the rest of PHP & the C API. - Make module compatible with thread safety features. - open_listen_sok() -> open_listen_sock() - Remove ext_skel comments - Get rid of the ZVAL macro and replace with the correct Z_*_* macros - declare all functions local to the file as static. - Remove empty PHP_MSHUTDOWN() function. - Removed confirm_sockets_compiled() - Changed RETVAL_* macro's to RETURN_* macro's eliminating errors with incorrect return values and a potential leak/crash or two. - functions that return void, actually return void - Replaced 'long' in the prototypes with 'int' - Fixed fd_zero() function, it gave a WRONG_PARAM_COUNT when you gave it the proper parameter count. - Changed the way an arbitrary number of parameters were accessed from build_iovec() to use the Zend API. - Added socketpair() and shutdown() functions.
show more ...
|
#
fd3d84ee |
| 08-Jul-2000 |
Chris Vandomelen |
* php4/ext/sockets.c, php4/ext/php_sockets.h: Numerous changes. Many prototypes changed to be more like the appropriate *NIX counterparts. Many new prototypes defining many
* php4/ext/sockets.c, php4/ext/php_sockets.h: Numerous changes. Many prototypes changed to be more like the appropriate *NIX counterparts. Many new prototypes defining many more advanced socket routines. Better AF_UNIX socket support. bind() now recognizes the socket type and acts appropriately, instead of needing the AF_* for the socket passed in. # Something I'd like to write yet is proper signal() support. Unfortunately, # the last time I tried, doing anything with the signal except ignoring it # caused PHP to segfault. And to have decent socket support.. at least, from # my experience, having signals is a good thing. Only problem.. to implement # it, some changes would have to be made to the parser - since that is where # the problems lie on handling asynchronous signals.
show more ...
|