Net_Socket::isBlocking() (Previous) (Next) Net_Socket::readAll()

View this page in Last updated: Sun, 28 Sep 2008
English | Dutch | French | German | Hungarian | Japanese | Polish | Russian | Spanish | Plain HTML

Net_Socket::read()

Net_Socket::read() -- retrieve data

Description

Read a specified amount of data. This is guaranteed to return, and has the added benefit of getting everything in one fread() chunk; if you know the size of the data you're getting beforehand, this is definitely the way to go.

Paramètres

  • integer $size - maximum number of chars to recieve

Valeur retournée

mixed - the data or a PEAR_Error

Note

Cette fonction ne peut pas être appelée de façon statique.

Net_Socket::isBlocking() (Previous) (Next) Net_Socket::readAll()

Download Documentation Last updated: Sun, 28 Sep 2008
Do you think that something on this page is wrong? Please file a bug report or add a note.
User Notes:
There are no user contributed notes for this page.