History log of /PHP-8.4/ext/sockets/sockets.c (Results 426 – 448 of 448)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: php-4.0.4RC3
# ae631446 06-Nov-2000 Sascha Schumann

Use socklen_t for getsockopt


# 7e807473 30-Oct-2000 Chris Vandomelen

Removed INI entry for read() function, made changes to read() so it will
take 4th parameter specifying whether to use the read() wrapper or the
system read() function, and modified the wrappe

Removed INI entry for read() function, made changes to read() so it will
take 4th parameter specifying whether to use the read() wrapper or the
system read() function, and modified the wrapper() so that it worked (mostly)
properly once again.

show more ...


# 70f262d0 27-Oct-2000 Sterling Hughes

New e-mail address.


# f1dcb32c 25-Oct-2000 Andrei Zmievski

Use zend_register_list_destructors_ex() instead.


# 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 ...


# 989d4716 22-Oct-2000 Chris Vandomelen

Hopefully made some compile fixes for Solaris ("sun" is an already defined
symbol on Solaris.. s_un isn't...), and corrected bugs with checking for a
string by checking if Z_STRVAL_PP(ptr) ==

Hopefully made some compile fixes for Solaris ("sun" is an already defined
symbol on Solaris.. s_un isn't...), and corrected bugs with checking for a
string by checking if Z_STRVAL_PP(ptr) == NULL instead of
Z_STRLEN_PP == 0, causing segfaults when uninitialized values were passed
into certain functions.
@- Attempted to make compile fixes for Solaris in ext/sockets/sockets.c (Chris Vandomelen)
# OK, so I have a tendency to make lots and lots of bug fixes in big spurts..

show more ...


# 4f1a8a76 22-Oct-2000 Chris Vandomelen

Oops, forgot to remove those .. thought I had..


# 0646a493 22-Oct-2000 Chris Vandomelen

Corrected some bugs dealing with compile failures (should now compile
on most varieties of Linux, and should hopefully fix at least 3 of the
compile errors that were discovered). Also modifie

Corrected some bugs dealing with compile failures (should now compile
on most varieties of Linux, and should hopefully fix at least 3 of the
compile errors that were discovered). Also modified read() slightly
to take an optional parameter as to whether the data was binary or
text so it wouldn't stop reading on a newline or null byte received.
@- Made read() binary-safe in sockets.c (Chris Vandomelen)
@- Attempted fixing some compile failures (Chris Vandomelen)
# Hopefully someone will attempt to compile this on other systems, I
# have no access to other platforms to compile it on ....

show more ...


# 7b4983c8 20-Oct-2000 Andrei Zmievski

Mega-patch to get better resource information for modules.
* Fixed a bug in zend_rsrc_list_get_rsrc_type()
* Switched register_list_destructors() to use
zend_register_list_destruc

Mega-patch to get better resource information for modules.
* Fixed a bug in zend_rsrc_list_get_rsrc_type()
* Switched register_list_destructors() to use
zend_register_list_destructors_ex() instead
* Updated all relevant modules to provide the resource type name
to register_list_destructors() call
* Updated var_dump() to output resource type name instead of number

@- Made resource type names visible, e.g. var_dump() and
@ get_resource_type() display "file" for file resources. (Andrei)

show more ...


Revision tags: php-4.0.3, php-4.0.3RC2, php-4.0.3RC1
# 322891a2 15-Sep-2000 Chris Vandomelen

Changed assignment in read() to be more sane.


# d3ca6394 14-Sep-2000 Chris Vandomelen

Corrected memory leak in read().


# ce46ccd3 13-Sep-2000 Chris Vandomelen

Added prototypes for socketpair() and shutdown(), and corrected an obvious
bug in socketpair (causing it to not return the created sockets to the PHP
script.)


# 95d2ca8a 11-Sep-2000 Sascha Schumann

Add proper struct sockaddr * casts and make use of memcpy/memset ('coz we
don't provide any fallbacks for bcopy/bzero).


# e9dd1375 10-Sep-2000 Sterling Hughes

Fix compile warning.
Fix proto.
Change PHP_MINFO output to be consistent.


Revision tags: php-4.0.2
# 0508a614 23-Aug-2000 Egon Schmid

Changed long to int.


# 2604cb98 23-Aug-2000 Sterling Hughes

A little condensing,
Add an additional check to make sure port is specified with
AF_INET in connect().


# 91944be3 23-Aug-2000 Chris Vandomelen

Corrected bugs in php_if_connect() to make it work properly -- needed to
run htons() on the port number provided, and needed to perform DNS lookups
properly and store the results as expected.


Revision tags: PRE_LIBMYSQL_REVERT, php-4.0.2RC1
# 8ef1279f 20-Aug-2000 Chris Vandomelen

Added another bug fix to detect for negative values being passed into the
fd_*() functions, as passing negative values would cause PHP to segfault.


# 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
# 81f59f09 08-Jul-2000 Egon Schmid

Aren't there some function names conflicts?


# 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
# 80f13900 05-Jul-2000 Egon Schmid

Fixed some protos.


# 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.


1...<<1112131415161718