Net_Socket::writeLine()

Net_Socket::writeLine()

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

Description

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

Parameter

  • string $data - the data to write

Return value

boolean - Returns TRUE on success, PEAR_Error on failure.

Note

This function can not be called statically.

© Copyright 2003-2023 www.php-editors.com. The ultimate PHP Editor and PHP IDE site.