note 20712 added to ref.sockets
| From: | armageddon at php2 dot chek dot com | Date: | Sat, 13 Apr 2002 12:26:02 +0000 |
| Subject: | note 20712 added to ref.sockets | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-29191@lists.php.net to get a copy of this message | ||
I'm using WinXP/Apache with PHP4.1.2 and
if ($result < 0) {
does *allways* return false.
using
if ($result <= 0) {
seems to fix this problem on windows...
--
http://www.php.net/manual/en/ref.sockets.php
http://master.php.net/manage/user-notes.php?action=edit+20712
http://master.php.net/manage/user-notes.php?action=delete+20712
http://master.php.net/manage/user-notes.php?action=reject+20712