History log of /PHP-7.4/ext/sockets/sockets.c (Results 251 – 275 of 367)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
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 ...


Revision tags: php-4.2.0, php-4.2.0RC4, php-4.2.0RC3, php-4.2.0RC2, php-4.2.0RC1, help
# cd4954b7 11-Mar-2002 Jason Greene

Fix WS


# 494d2d0d 09-Mar-2002 Jason Greene

Fix build on win32


# 3c9c8364 09-Mar-2002 Jason Greene

Fixed bug where NULL specified in sec was not waiting infinately as it should
Fixed bug where socket_select was not producing an error message on error
Fixed bug where -1 was getting returned

Fixed bug where NULL specified in sec was not waiting infinately as it should
Fixed bug where socket_select was not producing an error message on error
Fixed bug where -1 was getting returned instead of FALSE in socket_recv(),
socket_send(), socket_sendto(), and socket_select()

show more ...


# 165a97c9 06-Mar-2002 Jason Greene

Sockets Rework Patch 3 of 3
Nuked all fd code
Rewrote socket_select to use arrays instead of the fd code
(This has the side-effect of fixing quite a few bugs)


# e228b168 06-Mar-2002 Jason Greene

Socket Rework Patch 2
Redesigned socket_recv() as outlined on php-dev
Modified socket_last_error() to no longer clear the error
Added socket_clear_error()
Fixed socket_set_nonblock()

Socket Rework Patch 2
Redesigned socket_recv() as outlined on php-dev
Modified socket_last_error() to no longer clear the error
Added socket_clear_error()
Fixed socket_set_nonblock()
Added socket_set_block()
Fixed a proto
Saved 1 byte of RAM : )

show more ...


# 7d7b1ae9 05-Mar-2002 Jason Greene

Style Improvement


1...<<1112131415