note 65654 added to function.fclose
| From: | markatmarkvange*com at osu1 dot php dot net | Date: | Fri, 05 May 2006 04:17:56 +0000 |
| Subject: | note 65654 added to function.fclose | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-110607@lists.php.net to get a copy of this message | ||
It is very important to make sure you clear any incoming packets out of the incoming buffer using
fread() or some equivalent. Although you can call fclose() the socket does not actually shut down
until the inbound packets have been cleared. This can lead to some confusion.
----
Server IP: 216.235.15.211
Probable Submitter: 12.153.195.58
----
X-Spam-Status: No, hits=3.1 required=5.0 tests=DATE_MISSING,FROM_NO_LOWER
autolearn=no version=2.64
----
Manual Page -- http://www.php.net/manual/en/function.fclose.php
Edit -- http://master.php.net/note/edit/65654
Del: integrated -- http://master.php.net/note/delete/65654/integrated
Del: useless -- http://master.php.net/note/delete/65654/useless
Del: bad code -- http://master.php.net/note/delete/65654/bad+code
Del: spam -- http://master.php.net/note/delete/65654/spam
Del: non-english -- http://master.php.net/note/delete/65654/non-english
Del: in docs -- http://master.php.net/note/delete/65654/in+docs
Del: other reasons-- http://master.php.net/note/delete/65654
Reject -- http://master.php.net/note/reject/65654
Search -- http://master.php.net/manage/user-notes.php