Net_Socket::readWord() (Previous) (Next) Net_Socket::setTimeout()

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

Net_Socket::setBlocking()

Net_Socket::setBlocking() -- sets blocking mode

Description

Sets whether the socket connection should be blocking or not. A read call to a non-blocking socket will return immediately if there is no data available, whereas it will block until there is data for blocking sockets.

Paramètres

  • boolean $mode - TRUE for blocking sockets, FALSE for non blocking

Valeur retournée

  • boolean - Retourne TRUE en cas de succès, un objet PEAR_Error en cas d'échec.

Note

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

Net_Socket::readWord() (Previous) (Next) Net_Socket::setTimeout()

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.