History log of /PHP-7.0/ext/sockets/sockets.c (Results 226 – 250 of 329)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 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


# c6c7380d 04-Mar-2002 Jason Greene

Style mismatch: Jon's catch


# 03baef7a 04-Mar-2002 Jason Greene

Patch 1 of 3 (2 in 3 still in progress) of sockets rework
Abstracted string -> ipv4 value conversion which unifies all functions
Standardized Host Lookups
Fixed Broken host error values

Patch 1 of 3 (2 in 3 still in progress) of sockets rework
Abstracted string -> ipv4 value conversion which unifies all functions
Standardized Host Lookups
Fixed Broken host error values
Fixed error detection in sendmsg
Added some safety struct zeroing
Modified bind to consitentlyy use sockaddr_storage(not just for AF_UNIX)
#Note this could potentially break the build on other platforms, as I have
#not tested them yet (Will soon though)

show more ...


Revision tags: php-4.1.2
# 0a2438b0 15-Feb-2002 Jason Greene

Fix parse string
(Since arg6 is initialized at null this still catches the wrong param condition)


Revision tags: BEFORE_NEW_OBJECT_MODEL, PRE_ISSET_PATCH
# 53911433 27-Jan-2002 Jon Parise

Use socklen_t (instead of int) where appropriate.


# d7523c88 27-Jan-2002 Jon Parise

Because php_network.h includes <sys/socket.h>, it must be included after
_XPG4_2 is defined.

This fixes the build under Solaris 8.


# 98220d2a 09-Jan-2002 Markus Fischer

- Correct some protos.


# 4afe145a 08-Jan-2002 Sterling Hughes

Changed proto via Georg Richter's request.


# 6e1878b0 06-Jan-2002 Stig Venaas

Added some consts for arguments in network.c declarations. Moved
php_sockaddr_storage to php_network.h and added check for struct
sockaddr_storage


Revision tags: php-4.1.1
# 2807e174 14-Dec-2001 Jason Greene

Add myself as a maintainer


Revision tags: PRE_FUNC_RETURNS_OBJECT_PATCH, ChangeLog
# 38933514 11-Dec-2001 Sebastian Bergmann

Update headers.


Revision tags: php-4.1.0
# 7a3c3e85 06-Dec-2001 Hartmut Holzgraefe

proto fix


# 49c3d762 06-Dec-2001 Jason Greene

Fix broken format string in socket_recv -> zend_parse_parameters
Rewrote socket_setopt and socket_getopt to be cleaner
@Added support for SO_RCVTIMEO and SO_SNDTIMEO to ext/sockets (Jason)


Revision tags: php-4.1.0RC5, php-4.1.0RC4
# 3ee263e3 29-Nov-2001 Thies C. Arntzen

i'm sure i had this compile before;-)


12345678910>>...14