summaryrefslogtreecommitdiff
path: root/ext/sockets/php_sockets.h
Commit message (Collapse)AuthorAgeFilesLines
* Bump yearXinchen Hui2014-01-031-1/+1
|
* Move macro back to .c fileGustavo Lopes2013-02-021-8/+0
| | | | Because it depends on a static function on that .c file.
* Move & improve PHP_SOCKET_ERROR defGustavo Lopes2013-02-021-7/+7
|
* Move some declarations to sockets.cGustavo Lopes2013-02-021-35/+0
|
* Happy New YearXinchen Hui2013-01-011-1/+1
|
* - Year++Felipe Pena2012-01-011-1/+1
|
* - Added socket_import_stream().Gustavo André dos Santos Lopes2011-03-221-4/+6
| | | | | | | - Fixed socket_strerror.phpt - Made php_set_sock_blocking return FAILURE on fcntl error. - Made socket_set_block()/socket_set_nonblock() emit warning on error.
* - Year++Felipe Pena2011-01-011-1/+1
|
* 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
* - #49464, fix buildPierre Joye2009-09-041-1/+3
|
* export le_socket from ext/socketsAntony Dovgal2009-08-311-0/+2
|
* Fix buildHannes Magnusson2009-01-241-1/+1
|
* MFH: Windows support for stream_socket_pair(), by moving the socketpair() ↵Kalle Sommer Nielsen2009-01-231-1/+8
| | | | implementation from ext/sockets to win32/
* MFH:Kalle Sommer Nielsen2009-01-011-1/+1
| | | | | | | | [DOC] Renable socket_create_pair() on Windows # 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
* MFH: Bump copyright year, 3 of 3.Sebastian Bergmann2008-12-311-1/+1
|
* remove unused PHP_EXTNAME_API macros.Nuno Lopes2008-01-031-2/+0
| | | | | #in preparation for the gcc 4 visibility patch
* MFH: Bump copyright year, 2 of 2.Sebastian Bergmann2007-12-311-1/+1
|
* MFH:- Fixed bug #21197 (socket_read() outputs error with PHP_NORMAL_READ)Jani Taskinen2007-07-221-1/+4
|
* Remove pointless RINITIlia Alshanetsky2007-05-191-1/+0
|
* Add missing ifdefs for shutdown()Hannes Magnusson2007-01-101-0/+2
|
* MFH: 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
|