Manußl PHP | ||
---|---|---|
P°edchßzejφcφ | Dal╣φ |
Varovßnφ |
Tato funkce je EXPERIMENT┴LN═. To znamenß, ╛e chovßnφ tΘto funkce a jejφ nßzev, p°esn∞ji °eΦeno COKOLI, co je zde zdokumentovßno, se v budoucφch verzφch PHP m∙╛e BEZ OHL┴⌐EN═ zm∞nit. Berte to v ·vahu a pou╛φvejte tuto funkci na vlastnφ nebezpeΦφ. |
The function socket_read() reads from socket socket_des created by the socket_accept() function the number of bytes set by length. Otherwise you can use \n, \t or \0 to end reading. Returns data, or FALSE if socket_read() failed.
Optional type parameter is a named constant:
PHP_BINARY_READ - use the system socket_read() (Default in PHP >= 4.1.0)
PHP_NORMAL_READ - reading stops at \n or \r. (Default in PHP <= 4.0.6)
See also socket_accept(), socket_bind(), socket_connect(), socket_listen(), socket_strerror(), socket_get_status() and socket_write().
P°edchßzejφcφ | Dom∙ | Dal╣φ |
socket_listen | Nahoru | socket_create |