Uyarý |
Bu modül DENEYSELDÝR. Bunun anlamý, burada listenen fonksiyonlar, fonksiyon isimleri, kýsaca burada yazýlan HER ÞEY PHP"nin ilerki sürümlerinde UYARI YAPILMAKSIZIN DEðÝÞTÝRÝLEBÝLÝR. Dikkatli olun, ve bu modülü aldýÐýnýz riski bilerek kullanýn. |
The function read() reads from socket socket_descreated by the accept_connect() function into buffer the number of bytes set by length. Otherwise you can use \n, \t or \0 to end reading. Returns number of bytes that have been read.
Optional type parameter is a named constant:
PHP_BINARY_READ - use the system read() (Default in PHP >= 4.1.0)
PHP_NORMAL_READ - reading stops at \n or \r. (Default in PHP <= 4.0.6)
See also accept_connect(), bind(), connect(), listen(), strerror(), socket_get_status() and write().