LumiSoft Mail Server User API
ReadLine Method (stream, maxLineLength)
Namespaces > LumiSoft.Net > SocketEx > ReadLine(Stream, Int32)
Reads line from socket and stores it to specified stream. NOTE: CRLF isn't written to destination stream. If maximum allowed line length is exceeded line is read to end, but isn't stored to buffer and exception is thrown after line reading.
Syntax
C#Visual BasicManaged C++
public void ReadLine (
	Stream stream,
	int maxLineLength
)
Public Sub ReadLine ( _
	stream As Stream, _
	maxLineLength As Integer _
)
public:
void ReadLine (
	Stream^ stream, 
	int maxLineLength
)
Parameters
stream (Stream)
Stream where to store readed line.
maxLineLength (Int32)
Maximum line length in bytes.

Assembly: LumiSoft.Net Version: 2.0.2636.18419 (Module: LumiSoft.Net)