note 76699 added to function.socket-recv
| From: | teamcms*gmail*com at osu1 dot php dot net | Date: | Thu, 26 Jul 2007 18:00:59 +0000 |
| Subject: | note 76699 added to function.socket-recv | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-128948@lists.php.net to get a copy of this message | ||
Return value:
-----------------------------
a) on success returns number of bytes read
b) in case of no data on line, returns zero and $buf will be set to NULL.
c) on failure returns false, and $buf will be set to NULL.
To get the error code/message, call the appropriate socket functions.
d) in case of disconnect, the function returns either b) or c) which depends on how connection was
closed from the other end. It returns 0 if the connection was closed gracefully with FIN squence and
false if it was reset.
----
Server IP: 209.41.74.194
Probable Submitter: 66.207.165.130
----
Manual Page -- http://www.php.net/manual/en/function.socket-recv.php
Edit -- https://master.php.net/note/edit/76699
Del: integrated -- https://master.php.net/note/delete/76699/integrated
Del: useless -- https://master.php.net/note/delete/76699/useless
Del: bad code -- https://master.php.net/note/delete/76699/bad+code
Del: spam -- https://master.php.net/note/delete/76699/spam
Del: non-english -- https://master.php.net/note/delete/76699/non-english
Del: in docs -- https://master.php.net/note/delete/76699/in+docs
Del: other reasons-- https://master.php.net/note/delete/76699
Reject -- https://master.php.net/note/reject/76699
Search -- https://master.php.net/manage/user-notes.php