History log of /PHP-8.4/ext/sockets/sockets.c (Results 326 – 350 of 448)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: MODERN_SYMMETRIC_SESSION_BEHAVIOUR_20021003
# 06ad8620 30-Sep-2002 Jason Greene

Fix thread safety issue


# a8ca9932 23-Sep-2002 Jason Greene

Implement contstants on win32
@Implement platform independant socket error constants, which benefits error handling


# 56549224 10-Sep-2002 Jason Greene

Fix crash bug and memory leak in vectors
#still need to revisit how these are done, i.e. they are not binary safe


Revision tags: RELEASE_0_91, php-4.3.0dev_zend2_alpha3, php-4.2.3, php-4.2.3RC2
# b3a19983 28-Aug-2002 Jason Greene

@socket_recvfrom is now binary safe (Jason)
Zero the structure so that when the tcp layer of the OS decides to ignore it,
we do not think we are getting a value


# 1ce75e3a 25-Aug-2002 Jason Greene

Implement socket errno values for UNIX based platforms.
They are all prefixed with SOCKET_ to preserve name space
Win32 will follow...


Revision tags: php-4.2.3RC1
# 980feb5e 16-Aug-2002 Jason Greene

Nuke warnings on strict compilers


Revision tags: dev, php-4.2.2, INITIAL_IMPORT_SOURCEFORGE
# 0cd2d8bd 07-Jul-2002 Jason Greene

Remove sleep workaround, and fix the actual win32 memory leak which
was occurring in the error reporting system. The reason why sleepex appeared
to be working was because it suppressed EWOULD

Remove sleep workaround, and fix the actual win32 memory leak which
was occurring in the error reporting system. The reason why sleepex appeared
to be working was because it suppressed EWOULDBLOCK errors in the example
(which was non-blocking)
@Fix win32 memory leak in /ext/sockets that would occur on any error condition
@Fix host resolution error messages on win32

show more ...


Revision tags: xmlrpc_epi_0_51_merge_pt, php-4.3.0dev_zend2_alpha2
# c15d83b9 25-Jun-2002 Markus Fischer

- Fix proto.


Revision tags: php-4.3.0dev, php5_5_0
# f7bdde21 15-Jun-2002 Harald Radi

workaround for a win32 memleak
# this definitely has to be revisited !
# maybe we should use winsock2 and overlapped IO


Revision tags: RELEASE_0_90, php-4.3.0dev_zend2_alpha1, BEFORE_OBJECTS_STORE, SAFEGUARD_3_0_BETA1_RC1_26062002, RELEASE_0_11, NEW_UI_API_BP, RELEASE_0_10, RELEASE_0_4, php-4.3.0dev-ZendEngine2, php-4.3.0dev-ZendEngine2-Preview1, php-4.2.1
# 969d7e5a 12-May-2002 Jason Greene

Fix build on IRIX for both mips and gcc


# cfb285a3 08-May-2002 Jason Greene

Fix overflow


# d4b11fb3 07-May-2002 Jason Greene

Fix 10830, and 17074
FreeBSD requires the exact length of the socket type


Revision tags: php-4.2.1RC2
# 89c59569 02-May-2002 Jason Greene

socket_write() should just use the standard socket error macro so that errors will be consistent if the macro ever changes


# 07efbff8 01-May-2002 Markus Fischer

- Update protos for socket_read() and socket_write().
- Set last_error in socket_write().


# ae5bc7c0 01-May-2002 Markus Fischer

- Update protos for getpeer/getsock-name.


# 38a63251 01-May-2002 Jason Greene

Fix BYREF_FORCE that was not being read
Fix error message


Revision tags: php-4.2.1RC1
# 1a5501dd 01-May-2002 Markus Fischer

- Rename setopt and getopt to set_option and get_option, provide alias.


# a2fbdad2 01-May-2002 Markus Fischer

- Fix couple of problems with socket_create_pair():
- Force fourth argument to be passed by reference
- Since the argument is modified there is no need to force it to be an array

- Fix couple of problems with socket_create_pair():
- Force fourth argument to be passed by reference
- Since the argument is modified there is no need to force it to be an array
since it's destroyed anyway
- Only modify the argument if socketpair() was successfully
- Fix string modified for error message message
- Set global last_error when socketpair() fails

show more ...


# 7ee9e9d9 01-May-2002 Markus Fischer

- Add SOMAXCONN constant.


# cc4ff9c3 01-May-2002 Markus Fischer

- WS fixes


# 9a841d11 01-May-2002 Jason Greene

Changed socket_select to force reference copy, the older code would modify all references
@Fixed a bug in socket_select() that could cause unexpected behavior when using a statement
@ like $w

Changed socket_select to force reference copy, the older code would modify all references
@Fixed a bug in socket_select() that could cause unexpected behavior when using a statement
@ like $w=$e=array($sock);
@This change unfortunately prevents the use of constant values(NULL) for the socket array paramaters.
@Instead use a temporary variable or an expression with the leftmost member being a temporary variable.
@ ex. socket_select($w, $r, $e=NULL, 10);

Also fix small memory leak.

show more ...


# a369d06b 30-Apr-2002 Markus Fischer

- Forgot to update proto


# c1c1ee9f 30-Apr-2002 Markus Fischer

- Allow resetting the module global last_error too.


# 8cf30c79 29-Apr-2002 Markus Fischer

- Fix WS and CS a bit


# c970490d 29-Apr-2002 Markus Fischer

- Store last errno in the module global 'last_error' implicitely
- Set the global 'last_error' explicitely for functions which can't return an
error withing a single socket context (socket_

- Store last errno in the module global 'last_error' implicitely
- Set the global 'last_error' explicitely for functions which can't return an
error withing a single socket context (socket_create and socket_select)
- Modified socket_last_error() to return global modules last
error if no socket resource is given
- Added a couple of more E_WARNING messages in case something
goes foobar so the user isn't left alone in the dark.

show more ...


1...<<1112131415161718