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

From: Date: Fri, 19 Jul 2002 16:24:05 +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-14643@lists.php.net to get a copy of this message
ID: 18436 Updated by: sniper@php.net Reported By: tgsupport@free.fr -Status: Open +Status: Feedback Bug Type: Sockets related Operating System: Windows PHP Version: 4CVS-2002-07-19 New Comment: What are the CVS revisions for both main/network.c and ext/standard/fsock.c you have? Previous Comments: ------------------------------------------------------------------------ [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 (#14643) next »