Net_Socket::write()

Net_Socket::write() -- write data

Referentiesamenvatting

require_once 'Net/Socket.php';

boolean Net_Socket::write (string $data)

Beschrijving

Write data to a socket connection

Parameter

Return waarde

boolean - Geeft TRUE terug bij success, PEAR_Error als het faalt.

Throws

Tabel 49-1. Mogelijke PEAR_Error waarden

Error codeError messageReasonSolution
NULL"not connected" There is no open connection. You must establish a connection before ( Net_Socket::connect()).

Note

Deze functie kan niet statisch worden aangeroepen.

Zie

Net_Socket::writeLine()