socket_read

(PHP 4 >= 4.1.0)

socket_read -- Reads from a socket

Description

string socket_read ( resource socket_des, int length [, int type])

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 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:

See also socket_accept(), socket_bind(), socket_connect(), socket_listen(), socket_strerror(), socket_get_status() and socket_write().