LumiSoft Mail Server User API
BeginReadLine Method (stream, maxLineLength, tag, callback)
Namespaces > LumiSoft.Net > SocketEx > BeginReadLine(Stream, Int32, Object, SocketCallBack)
Begins reading line from socket asynchrounously. 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 BeginReadLine (
	Stream stream,
	int maxLineLength,
	Object tag,
	SocketCallBack callback
)
Public Sub BeginReadLine ( _
	stream As Stream, _
	maxLineLength As Integer, _
	tag As Object, _
	callback As SocketCallBack _
)
public:
void BeginReadLine (
	Stream^ stream, 
	int maxLineLength, 
	Object^ tag, 
	SocketCallBack^ callback
)
Parameters
stream (Stream)
Stream where to store readed line.
maxLineLength (Int32)
Maximum line length in bytes.
tag (Object)
User data.
callback (SocketCallBack)
The method to be called when the asynchronous line read operation is completed.

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