socket_read

socket_read -- Reads a maximum of length bytes from a socket

Description

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

Ostrzeżenie

Ta funkcja jest w stadium EKSPERYMENTALNYM . Oznacza to , że zachowanie funkcji , jej nazwa , w zasadzie wszystko udokumentowane tutaj może zostać zmienione w przyszłych wersjach PHP bez wcześniejszego uprzedzenia . Używaj tej funkcji na własne ryzyko .

Notatka: socket_read() may return a zero length string ("") indicating the end of communication (i.e. the remote end point has closed the connection).