Commit Graph

242 Commits

Author SHA1 Message Date
Anatoliy Belsky
bc9f8030c7 Fixed sockets ext build on win 2012-11-13 14:53:32 +01:00
Gustavo Lopes
e7e57aea0a Use if_nametoindex in Vista
I missed this instance in bf19838c.
2012-10-23 11:52:31 +02:00
Felipe Pena
074d361d64 - Fix the fix (typo s/AIX/_AIX/g) 2012-05-21 08:54:59 -03:00
Felipe Pena
ffe8303f24 - Fixed bug #62025 (__ss_family was changed on AIX 5.3) 2012-05-20 19:37:20 -03:00
Felipe Pena
4e19825281 - Year++ 2012-01-01 13:15:04 +00:00
Gustavo André dos Santos Lopes
5759a440f8 - Small ajustments to some multicast options. 2011-11-26 17:48:52 +00:00
Felipe Pena
4168e0dfe4 - Fixed bug #60048 (sa_len a #define on IRIX)
patch by: china at thewrittenword dot com
2011-10-13 22:56:05 +00:00
Felipe Pena
4b30846b50 - Make usage of new PHP_FE_END macro 2011-07-25 11:35:02 +00:00
Gustavo André dos Santos Lopes
7a402242bc - Fixed bug #55111 (sockets extension fails to compile on Mac OSX). 2011-07-02 12:03:32 +00:00
Gustavo André dos Santos Lopes
f99938c6ee - Fixed socket_import_stream returning NULL on some errors and FALSE on others 2011-06-28 10:27:29 +00:00
Gustavo André dos Santos Lopes
bc9c089f3a - Fixed ext/sockets build on Mac OS X (hopefully).
- Improvements in the multicast tests.
- Very light refactoring in sockets.c.
2011-06-11 20:20:50 +00:00
Felipe Pena
b60f6774dc - Fix the fix
# Arghh, copy and paste error :(
2011-05-24 00:10:00 +00:00
Felipe Pena
70f4069138 - Fixed stack buffer overflow in socket_connect().
Found by: Mateusz Kocielski, Marek Kroemeke and Filip Palian
2011-05-24 00:05:50 +00:00
Pierre Joye
27c0221dc9 - not used on win 2011-03-30 09:46:56 +00:00
Pierre Joye
f7249e7c5c - fix build, should fix that code too on non win (wondering if that part was working at all) 2011-03-30 09:46:20 +00:00
Pierre Joye
38bbbe3417 - attempt to fix build, 1st error 2011-03-30 09:42:21 +00:00
Gustavo André dos Santos Lopes
0de2e61cab - Added socket_import_stream().
- 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.
2011-03-22 00:44:23 +00:00
Gustavo André dos Santos Lopes
c9d397d59f - Adding copyright headers to the new files, gotta do something about the
windows line endings too, but I'm separating the commits.
2011-03-20 02:03:29 +00:00
Gustavo André dos Santos Lopes
ff0fe17725 - Replaced calls to getprotobyname by constants to avoid
unnecessarily hitting /etc/protocols on MINIT.
2011-03-17 22:21:59 +00:00
Gustavo André dos Santos Lopes
76dd2d8e2c - Fixed bug #51958: socket_accept() fails on IPv6 sockets.
#On hold for 5.3
2011-03-14 22:59:05 +00:00
Gustavo André dos Santos Lopes
e4298bf0fb - Added multicast support to the sockets extension (bug #40510). 2011-03-14 00:08:29 +00:00
Felipe Pena
0203cc3d44 - Year++ 2011-01-01 02:17:06 +00:00
Sebastian Bergmann
9ba1e81665 sed -i "s#1997-2009#1997-2010#g" **/*.c **/*.h **/*.php 2010-01-03 09:23:27 +00:00
Mikko Koppanen
29b7cd5dcf Share the php_sockets.h header
Share php_sockets_le_socket_name
2009-12-27 01:00:50 +00:00
Kalle Sommer Nielsen
1063c8346b MFT: VC10 build support 2009-12-03 11:50:32 +00:00
Pierre Joye
a2cffa2590 - #49464, fix build 2009-09-04 19:53:39 +00:00
Sriram Natarajan
ac2d3990f2 - Fixed bug #49447 (php engine need to correctly check for socket API
return status on windows). (Sriram Natarajan)
2009-09-04 07:59:48 +00:00
Antony Dovgal
fe7e08432e export le_socket from ext/sockets 2009-08-31 08:41:03 +00:00
Andrei Zmievski
1787a2272a MFB 2009-06-04 18:17:43 +00:00
Arnaud Le Blanc
73553e8c77 MFH: Fixed bug #48326 (constant MSG_DONTWAIT not defined) 2009-05-20 09:05:46 +00:00
Felipe Pena
91bdeda644 - MFH: Fixed memory leak (patch by Christian Weiske) 2009-05-10 01:03:45 +00:00
Pierre Joye
ebc2912872 - #47978, typo in ext/sockets/sockets.c 2009-04-16 05:33:13 +00:00
Ilia Alshanetsky
59e6e127d2 MFB: Return empty string when recv() does not fetch any data 2009-02-03 19:22:55 +00:00
Antony Dovgal
8e2c587a51 fix build 2009-01-24 13:08:04 +00:00
Kalle Sommer Nielsen
73b17408fb MFH: Windows support for stream_socket_pair(), by moving the socketpair() implementation from ext/sockets to win32/ 2009-01-23 15:49:49 +00:00
Kalle Sommer Nielsen
2f2d910797 MFH:
[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
2009-01-01 05:24:29 +00:00
Sebastian Bergmann
08659c2dcd MFH: Bump copyright year, 3 of 3. 2008-12-31 11:15:49 +00:00
Felipe Pena
fc2fb50d09 - MFH: Added 'static' into ZEND_BEGIN_ARG_INFO_EX macro 2008-11-17 11:28:01 +00:00
Felipe Pena
7a37fa2d6b - Revert ZEND_BEGIN_ARG_INFO change 2008-11-02 21:19:39 +00:00
Felipe Pena
df10005563 - MFH: Added 'static' into ZEND_BEGIN_ARG_INFO_EX macro 2008-10-24 14:35:40 +00:00
Arnaud Le Blanc
15aced54b0 MFH: Fixed bug #46360 (TCP_NODELAY constant for socket_{get,set}_option) 2008-10-22 18:59:33 +00:00
Arnaud Le Blanc
1d5ba8bb21 MFH: initialize optional vars 2008-10-21 23:39:15 +00:00
Pierre Joye
2620304003 - MFH:
- drop bindlib usage on windows
 - inet_pton, inet_ntop and inet_aton are always available (VC9 uses the CRT implementation, VC6 our own)
2008-08-23 19:22:10 +00:00
Jani Taskinen
d91bc9eca2 MFH:- Fixed bug #44127 (UNIX abstract namespace socket connect does not work) 2008-07-16 14:08:38 +00:00
Felipe Pena
026d7fe232 - Added arginfo
- Removed #include "zend_arg_defs.c" (it's unnecessary now)
2008-07-04 14:08:16 +00:00
Felipe Pena
079bfadbe7 MFB: Fixed Bug #44197 (socket array keys lost on socket_select) 2008-02-21 02:56:57 +00:00
Sebastian Bergmann
d1dded8751 MFH: Bump copyright year, 2 of 2. 2007-12-31 07:17:19 +00:00
Dmitry Stogov
6c810b0d4c Improved memory usage by movig constants to read only memory. (Dmitry, Pierre) 2007-09-27 18:00:48 +00:00
Antony Dovgal
72fc33ef6a MFH 2007-09-26 10:55:07 +00:00
Jani Taskinen
c96c5ca91f MFH:- Added missing MSG_EOR and MSG_EOF constants 2007-07-24 11:35:08 +00:00