History log of /PHP-7.1/ext/sockets/php_sockets.h (Results 76 – 92 of 92)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: php-4.1.0, php-4.1.0RC5, php-4.1.0RC4, php-4.1.0RC3, php-4.1.0RC2
# f8fb5e5d 06-Nov-2001 Jon Parise

Include <sys/socket.h> for 'struct sockaddr'.

# This fixes my FreeBSD build.


# dceb1e78 01-Nov-2001 Markus Fischer

Remove prototype warnings under linux.


# d0433b6d 01-Nov-2001 Daniel Beulshausen

make this function static


# 2fba0362 01-Nov-2001 Daniel Beulshausen

- convert to use new zend_parse_parameters API
- unify errormessages + add socket_last_error()
- fix linklibrary under windows
- some streamlining


Revision tags: POST_PARAMETER_PARSING_API, PRE_PARAMETER_PARSING_API, php-4.1.0RC1, php4, php-4.0.7RC3
# bfef9387 26-Sep-2001 Sascha Schumann

Force proper alignment of php_sockaddr_storage. Sparc will throw
a SIGBUS, when accessing the family part of a char-aligned structure.


Revision tags: POST_SUBST_Z_MACROS, PRE_SUBST_Z_MACROS, php-4.0.7RC2
# 9fe46a52 04-Sep-2001 Jason Greene

Much better fix for non forte compilers on Solaris.
Removed pragma hack.
Renamed socket struct to bsd_socket.


Revision tags: php-4.0.7RC1, BEFORE_EXP_MERGE, PRE_METHOD_DEREFERENCE_PATCH, BEFORE_PARAM_PARSING_CHANGE, PRE_ENGINE2_SPLIT, PRE_TSRM_MERGE_PATCH
# 69a4760b 25-Jul-2001 Daniel Beulshausen

fix recently discovered api flaws
- 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 a

fix recently discovered api flaws
- 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

show more ...


Revision tags: PRE_GRANULAR_GARBAGE_FIX, php-4.0.6, php-4.0.6RC4, php-4.0.6RC3, php-4.0.6RC2
# d3b4074e 21-May-2001 Sterling Hughes

Fix compile warning.


# 9820c2a5 17-May-2001 Daniel Beulshausen

update sockets to work with winsock as well


Revision tags: php-4.0.6RC1, php-4.0.5, php-4.0.5RC8, php-4.0.5RC7, php-4.0.5RC6, php-4.0.5RC5, php-4.0.5RC4, php-4.0.5RC3, php-4.0.5RC2, php-4.0.5RC1
# eb6ba01d 26-Feb-2001 Andi Gutmans

- Fix copyright notices with 2001


Revision tags: php-4.0.4pl1, php-4.0.4pl1RC2, php-4.0.4pl1RC1, php-4.0.4REL, php-4.0.4RC6, php-4.0.4RC5, php-4.0.4RC4
# a75b19e0 03-Dec-2000 Sterling Hughes

- Fix the handling of resource entries
- Fix the fd_dealloc() function


Revision tags: php-4.0.4RC3
# b57f9eb5 22-Oct-2000 Chris Vandomelen

Added ini entry for choosing whether to use the read() wrapper or directly
calling the read() system call.
# Some people were commenting about "oddities" in the wrapper that I hadn't
# no

Added ini entry for choosing whether to use the read() wrapper or directly
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..

show more ...


Revision tags: php-4.0.3, php-4.0.3RC2, php-4.0.3RC1
# e5d8f20f 07-Sep-2000 Thies C. Arntzen

make ZTS mode compile


Revision tags: php-4.0.2, PRE_LIBMYSQL_REVERT, php-4.0.2RC1
# 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 ...


Revision tags: PRE_FILE_COMPILE_API_CHANGE
# 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 ...


Revision tags: PRE_METHOD_CALL_SEPERATE_FIX_PATCH
# e24f505b 03-Jul-2000 Sascha Schumann

Identifiers which begin with an underscore are reserved. Changed
_PHP_SOCKETS_H to PHP_SOCKETS_H.


# 21abde5c 03-Jul-2000 Chris Vandomelen

* Makefile.in
config.m4
php_sockets.h
sockets.c
sockets.php:
- Added files needed for Unix-style sockets support in PHP.


1234