php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Return to Bug #48761
Patch win2k-winsock2-fix revision 2012-06-04 14:18 UTC by ricardo12458 at hotmail dot com
revision 2012-06-04 14:13 UTC by ricardo12458 at hotmail dot com

Patch win2k-winsock2-fix for Reproducible crash Bug #48761

Patch version 2012-06-04 14:18 UTC

Return to Bug #48761 | Download this patch
Patch Revisions: 2012-06-04 14:18 UTC | 2012-06-04 14:13 UTC

Developer: ricardo12458@hotmail.com



  #endif
  #include <Ws2tcpip.h>
  #include <Wspiapi.h> // include this line for windows 2000 servers
  
 /* In order for Windows 2000 to use PHP 5.3.x+, you need to 
 /*
  * In order for Windows 2000 to use PHP 5.3.x+, you need to 
   * include the above line. This adds the WinSock2 functions inline.
   * Including this file does not affect the way PHP works 
   * in Windows XP/VISTA/7/Server 2003/2008/2012.
   * 
   * Patch contributed by Ricardo Villegas
   * ricardo12458 [at] hotmail [dot] [com]
  * 
  * If you want to try it out, I suggest you
  * download a copy from http://php.ricardo12458.co.cc.
  * It's a snapshot build from: http://windows.php.net/downloads/releases/php-5.4.3-src.zip
  * 
   */
  
  #if (_WIN32_WINNT < 0x0600)
  PHPAPI int inet_pton(int af, const char* src, void* dst);
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 10:01:28 2024 UTC