php-src/ext/sockets
Gustavo Lopes af1b90d62b Fix bug and hopefully build on WinSDK 6.1
There build was failing on rmtools on the sockets extension for two reasons:

  1. IPV6_TCLASS and IPV6_RECVTCLASS not being defined. These are probably
  recent additions to SDK. Windows 7 doesn't event seem to have complete
  support for IPV6_TCLASS, not accepting in WSASendMsg(). The parts that
  needed this constant were not guarded by #ifdefs. They are now.

  2. The constants EWOULDBLOCK and EINPROGRESS not being defined. These
  were only defined in php_network.h, outside of the extension, and not
  all source files included this header. Nevertheless, a macro defined in
  php_sockets.h needed these constants. When this macro was used in files
  that did not include php_network.h, the compilation would fail.
  Surprisingly, the build did not fail when using the 7.1 Windows SDK
  (more likely, the CRT headers used in VC10), as somehow errno.h was
  being included through some other standard header. This would make the
  constant EWOULDBLOCK defined; however, it would be defined to the wrong
  value. In the winsock context, WSAEWOULDBLOCK should be used instead.
  Because we have difficulty using Windows-only constants in the code, we
  (re)define EWOULDBLOCK to WSAEWOULDBLOCK. This has the obvious
  disavantage we may miss problems like this again in the future.
2013-02-03 01:36:14 +01:00
..
tests send/recvmsg() support for Windows 2013-02-02 16:38:09 +01:00
config.m4 Refactoring: move stuff to new conversions.c 2013-02-02 16:38:08 +01:00
config.w32 send/recvmsg() support for Windows 2013-02-02 16:38:09 +01:00
conversions.c Fix non-Windows build 2013-02-02 16:38:09 +01:00
conversions.h send/recvmsg() support for Windows 2013-02-02 16:38:09 +01:00
CREDITS Add myself as a maintainer 2001-12-14 05:58:28 +00:00
multicast.c Fix multicast.c not defining errno on Windows 2013-02-02 16:38:09 +01:00
multicast.h Build fixes; accept names for if_index 2013-02-02 16:38:08 +01:00
package.xml MFH: removed useless file 2007-07-24 11:15:59 +00:00
php_sockets.h Fix bug and hopefully build on WinSDK 6.1 2013-02-03 01:36:14 +01:00
sendrecvmsg.c Fix bug and hopefully build on WinSDK 6.1 2013-02-03 01:36:14 +01:00
sendrecvmsg.h Build fixes; accept names for if_index 2013-02-02 16:38:08 +01:00
sockaddr_conv.c send/recvmsg() support for Windows 2013-02-02 16:38:09 +01:00
sockaddr_conv.h Fix multicast.c not defining errno on Windows 2013-02-02 16:38:09 +01:00
sockets.c send/recvmsg() support for Windows 2013-02-02 16:38:09 +01:00
sockets.dsp revert change #298288: Remove old dsp/dsw/makefile files 2010-04-28 14:41:51 +00:00
unix_socket_constants.h Happy New Year 2013-01-01 16:37:09 +08:00
win32_socket_constants.h Happy New Year 2013-01-01 16:37:09 +08:00
windows_common.h Fix bug and hopefully build on WinSDK 6.1 2013-02-03 01:36:14 +01:00