Documentation

Net::Socket::ReadLine

Method in Socket

bool ReadLine(string&out str)

Attempts to read up until the next newline character, and outputs the string (including the newline character) in str. If no newline character is encountered, it will return false, leave str unmodified, and no bytes will be consumed from the buffer.

string str

Returns bool