Net_Socket::writeLine()

Net_Socket::writeLine() -- write data including EOL

Referentiesamenvatting

require_once 'Net/Socket.php';

boolean Net_Socket::writeLine (string $data)

Beschrijving

Write a line of data to a socket connection, followed by a trailing "\r\n".

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::write()