
CHAPTER 6: External Communication Tools Socket object reference 199
readln()
socketObj.readln ();
Reads one line of text up to the next line feed. Line feeds are recognized as LF or CRLF pairs. CR
characters are ignored.
Returns a string.
write()
socketObj.write (text[, text...]);
text
String. Any number of string values. All arguments are concatenated to form the
string to be written.
Concatenates all arguments into a single string and writes that string to the connection. CRLF
sequences are converted to LFs unless encoding
is set to BINARY.
Returns true on success.
writeln()
socketObj.write (text[, text...]);
text
String. Any number of string values. All arguments are concatenated to form the
string to be written.
Concatenates all arguments into a single string, appends a Line Feed character, and writes that
string to the connection.
Returns true on success.
Comentários a estes Manuais