Send an empty line of text to the remote host, terminated by a carriage-return and linefeed.
A boolean value which specifies if the operation completed successfully. A return value of false indicates an error has occurred. To get extended error information, check the value of the LastError property.
The WriteLine method will send an empty line of text, terminated by a carriage-return and linefeed. Calling this method will force the application to block until the complete line of text has been written, the write operation times out or the remote host aborts the connection. If this method is called with the Blocking property set to false, it will automatically switch the socket into a blocking mode, send the data and then restore the socket to non-blocking mode. If another socket operation is attempted while the WriteLine method is blocked sending data to the remote host, an error will occur. It is recommended that this method only be used with blocking socket connections.
The Write and WriteLine methods can be safely intermixed.