summaryrefslogtreecommitdiff
path: root/ext/sockets/php_sockets.h
Commit message (Collapse)AuthorAgeFilesLines
* MFH latest changesDaniel Beulshausen2001-11-121-2/+13
|
* Merge recent socket fixesJason Greene2001-09-111-1/+1
|
* fix recently discovered api flawsDaniel Beulshausen2001-07-251-9/+18
| | | | | | | - nuke first parameter to socket_select (detemine it ourself) - swap parameters for socket_fd_set, socket_fd_clear & socket_fd_isset - allow to pass an array of sockets to socket_fd_set + socket_fd_clear
* Fix compile warning.Sterling Hughes2001-05-211-1/+2
|
* update sockets to work with winsock as wellDaniel Beulshausen2001-05-171-43/+52
|
* - Fix copyright notices with 2001Andi Gutmans2001-02-261-1/+1
|
* - Fix the handling of resource entriesSterling Hughes2000-12-031-3/+1
| | | | | - Fix the fd_dealloc() function
* Added ini entry for choosing whether to use the read() wrapper or directlyChris Vandomelen2000-10-221-0/+1
| | | | | | | calling the read() system call. # Some people were commenting about "oddities" in the wrapper that I hadn't # noticed before, though I've used it in many places before now..
* make ZTS mode compileThies C. Arntzen2000-09-071-1/+1
|
* A Whole buncha stuff, mostly bug fixing...Sterling Hughes2000-08-201-26/+12
| | | | | | | | | | | | | | | | | | | | | | | - 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.
* * php4/ext/sockets.c, php4/ext/php_sockets.h:Chris Vandomelen2000-07-081-2/+16
| | | | | | | | | | | | | | | 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.
* Identifiers which begin with an underscore are reserved. ChangedSascha Schumann2000-07-031-3/+3
| | | | | _PHP_SOCKETS_H to PHP_SOCKETS_H.
* * Makefile.inChris Vandomelen2000-07-031-0/+110
config.m4 php_sockets.h sockets.c sockets.php: - Added files needed for Unix-style sockets support in PHP.