PEAR Manual
This manual is provided as a courtesy. It is not an official source. Please check pear.php.net for updated information.
require_once 'Net/Socket.php';
boolean Net_Socket::write (string $data)
boolean Net_Socket::write
Write data to a socket connection
string $data - the data to write
boolean - Returns TRUE on success, PEAR_Error on failure.
Table 47-1. Possible PEAR_Error values
This function can not be called statically.
Net_Socket::writeLine()