summaryrefslogtreecommitdiff
path: root/ext/sockets/php_sockets.h
Commit message (Collapse)AuthorAgeFilesLines
* sed -i "s#1997-2009#1997-2010#g" **/*.c **/*.h **/*.phpSebastian Bergmann2010-01-031-1/+1
|
* Share the php_sockets.h headerMikko Koppanen2009-12-271-0/+2
| | | | | Share php_sockets_le_socket_name
* - Fix build for !win32 systems..Jani Taskinen2009-09-101-2/+2
|
* Fixed ext/sockets buildKalle Sommer Nielsen2009-09-081-1/+1
|
* - #49464, fix buildPierre Joye2009-09-041-1/+3
|
* export le_socket from ext/socketsAntony Dovgal2009-08-311-0/+2
|
* - This is PHP 6 - if this ... ever gets outMarcus Boerger2009-03-101-1/+1
|
* Windows support for stream_socket_pair(), by moving the socketpair() ↵Kalle Sommer Nielsen2009-01-231-1/+8
| | | | implementation from ext/sockets to win32/
* Renable socket_create_pair() on WindowsKalle Sommer Nielsen2009-01-011-1/+1
| | | | | | # ext/sockets have its own implementation of socketpair(), perhaps we should move it # to the core. This will make stream_socket_pair() available on Windows aswell
* Bump copyright year, 3 of 3.Sebastian Bergmann2008-12-311-1/+1
|
* MFB: remove unused PHP_EXTNAME_API macros.Nuno Lopes2008-01-031-2/+0
| | | | | #in preparation for the gcc 4 visibility patch
* Bump copyright year, 2 of 2.Sebastian Bergmann2007-12-311-1/+1
|
* - Fixed bug #21197 (socket_read() outputs error with PHP_NORMAL_READ)Jani Taskinen2007-07-221-1/+2
|
* MFB: sockepair is not always availableJani Taskinen2007-07-221-0/+2
|
* MFBIlia Alshanetsky2007-05-281-1/+0
|
* MFB: Add missing ifdefsHannes Magnusson2007-01-101-0/+2
|
* Bump year.Sebastian Bergmann2007-01-011-1/+1
|
* bump year and license versionfoobar2006-01-011-3/+3
|
* - Bumber up yearfoobar2005-08-031-1/+1
|
* Nuke unused codefoobar2005-02-141-4/+0
|
* - Happy new year and PHP 5 for rest of the files too..foobar2004-01-081-2/+2
| | | | | # Should the LICENSE and Zend/LICENSE dates be updated too?
* Remove all vector based functions for the following reasons:Jason Greene2003-08-161-17/+0
| | | | | | | | | | - This solves alot of platform compatibility problems - The possible security issue of allocating an incredibly large vector pool is prevented - They are of little to no benefit in a high level language - 99% of all things done with these functions can be done using sendto/recvfrom
* rename SOCKET to PHP_SOCKET to avoid conflicts with MonoSterling Hughes2003-06-171-2/+4
|
* updating license information in the headers.James Cox2003-06-101-3/+3
|
* Fixed compiler warnings.Ilia Alshanetsky2003-05-281-0/+2
|
* CS cleanup + NS protection for some functions (used only in sockets.c btw)foobar2003-04-171-3/+4
|
* Better ifdef it out here toofoobar2003-04-051-0/+2
|
* Bump year.Sebastian Bergmann2002-12-311-1/+1
|
* Fix proto and #20137Sander Roobol2002-10-281-1/+1
|
* Fix thread safety issueJason Greene2002-09-301-1/+4
|
* - Rename setopt and getopt to set_option and get_option, provide alias.Markus Fischer2002-05-011-2/+2
|
* - Store last errno in the module global 'last_error' implicitelyMarkus Fischer2002-04-291-4/+6
| | | | | | | | | | - 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.
* Sockets Rework Patch 3 of 3Jason Greene2002-03-061-11/+0
| | | | | | | 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)
* Socket Rework Patch 2Jason Greene2002-03-061-0/+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 : )
* Added some consts for arguments in network.c declarations. MovedStig Venaas2002-01-061-5/+0
| | | | | | php_sockaddr_storage to php_network.h and added check for struct sockaddr_storage
* Update headers.Sebastian Bergmann2001-12-111-2/+2
|
* Include <sys/socket.h> for 'struct sockaddr'.Jon Parise2001-11-061-1/+3
| | | | | # This fixes my FreeBSD build.
* Remove prototype warnings under linux.Markus Fischer2001-11-011-0/+7
|
* make this function staticDaniel Beulshausen2001-11-011-4/+0
|
* - convert to use new zend_parse_parameters APIDaniel Beulshausen2001-11-011-1/+6
| | | | | | | - unify errormessages + add socket_last_error() - fix linklibrary under windows - some streamlining
* Force proper alignment of php_sockaddr_storage. Sparc will throwSascha Schumann2001-09-261-1/+2
| | | | | a SIGBUS, when accessing the family part of a char-aligned structure.
* Much better fix for non forte compilers on Solaris.Jason Greene2001-09-041-1/+1
| | | | | | Removed pragma hack. Renamed socket struct to bsd_socket.
* fix recently discovered api flawsDaniel Beulshausen2001-07-251-9/+18
| | | | | | | - 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
* Fix compile warning.Sterling Hughes2001-05-211-1/+2
|
* update sockets to work with winsock as wellDaniel Beulshausen2001-05-171-43/+52
|
* - Fix copyright notices with 2001Andi Gutmans2001-02-261-1/+1
|
* - Fix the handling of resource entriesSterling Hughes2000-12-031-3/+1
| | | | | - Fix the fd_dealloc() function
* Added ini entry for choosing whether to use the read() wrapper or directlyChris Vandomelen2000-10-221-0/+1
| | | | | | | 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..
* make ZTS mode compileThies C. Arntzen2000-09-071-1/+1
|
* A Whole buncha stuff, mostly bug fixing...Sterling Hughes2000-08-201-26/+12
| | | | | | | | | | | | | | | | | | | | | | | - 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.