Bug #18436: non blocking socket don't work
| From: | tgsupport at free dot fr | Date: | Fri, 19 Jul 2002 15:05:08 +0000 |
| Subject: | Bug #18436: non blocking socket don't work | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-14635@lists.php.net to get a copy of this message | ||
From: tgsupport@free.fr
Operating system: Windows
PHP version: 4CVS-2002-07-19
PHP Bug Type: Sockets related
Bug description: non blocking socket don't work
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 bug report at http://bugs.php.net/?id=18436&edit=1
--
Fixed in CVS: http://bugs.php.net/fix.php?id=18436&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=18436&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=18436&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=18436&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=18436&r=support
Expected behavior: http://bugs.php.net/fix.php?id=18436&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=18436&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=18436&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=18436&r=globals