socket_read

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

Description

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

Varovanie

Táto funkcia je EXPERIMENTÁLNA . Správanie tejto funkcie , meno tejto funkcie a všetko ostatné , čo tu je zdokumentované sa v budúcnosti môže bez ohlásenia zmeniť . Majte to na pamäti a používajte túto funkciu iba na vlastné nebezpečentsvo .

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