LumiSoft Mail Server User API
BeginWritePeriodTerminated Method (stream, tag, callback)
Namespaces > LumiSoft.Net > SocketEx > BeginWritePeriodTerminated(Stream, Object, SocketCallBack)
Begins writing period terminated data to socket. The data is terminated by a line containing only a period, that is, the character sequence "<CRLF>.<CRLF>". Before sending a line of text, check the first character of the line.If it is a period, one additional period is inserted at the beginning of the line.
Syntax
C#Visual BasicManaged C++
public void BeginWritePeriodTerminated (
	Stream stream,
	Object tag,
	SocketCallBack callback
)
Public Sub BeginWritePeriodTerminated ( _
	stream As Stream, _
	tag As Object, _
	callback As SocketCallBack _
)
public:
void BeginWritePeriodTerminated (
	Stream^ stream, 
	Object^ tag, 
	SocketCallBack^ callback
)
Parameters
stream (Stream)
Stream which data to write. Reading begins from stream current position and is readed to EOS.
tag (Object)
User data.
callback (SocketCallBack)
The method to be called when the asynchronous write operation is completed.

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