Bug #18436 Updated: non blocking socket don't work

From: Date: Fri, 19 Jul 2002 20:37:32 +0000
Subject: Bug #18436 Updated: non blocking socket don't work
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-14657@lists.php.net to get a copy of this message
ID: 18436 Updated by: jason@php.net Reported By: tgsupport@free.fr -Status: Open +Status: Closed Bug Type: Sockets related Operating System: Windows PHP Version: 4CVS-2002-07-19 New Comment: This bug has been fixed in CVS. You can grab a snapshot of the CVS version at http://snaps.php.net/. In case this was a documentation problem, the fix will show up soon at http://www.php.net/manual/. In case this was a PHP.net website problem, the change will show up on the PHP.net site and on the mirror sites. Thank you for the report, and for helping us make PHP better. Hopefully, this bug will not reappear -jason Previous Comments: ------------------------------------------------------------------------ [2002-07-19 13:05:20] tgsupport@free.fr I donwload php4-200207190000.tar.gz in http://snaps.php.net contain /* $Id: network.c,v 1.51 2002/06/11 03:55:28 jason Exp $ */ /* $Id: fsock.c,v 1.98 2002/07/13 09:26:36 sander Exp $ */ ------------------------------------------------------------------------ [2002-07-19 12:24:05] sniper@php.net What are the CVS revisions for both main/network.c and ext/standard/fsock.c you have? ------------------------------------------------------------------------ [2002-07-19 11:05:07] tgsupport@free.fr Always the same problem describe http://bugs.php.net/bug.php?id=8722 modify network.c with #ifdef PHP_WIN32 #include <windows.h> #include <winsock.h> #define O_RDONLY _O_RDONLY #define EWOULDBLOCK WSAEWOULDBLOCK // Add #undef errno // Add #define errno (WSAGetLastError()) // Add #include "win32/param.h" #else ... and fsock.c i remove the line #define EWOULDBLOCK WSAEWOULDBLOCK and now it's work. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=18436&edit=1

« previous php.bugs (#14657) next »