LumiSoft Mail Server User API
BeginWritePeriodTerminated Method (stream, closeStream, tag, callback)
Namespaces > LumiSoft.Net > SocketEx > BeginWritePeriodTerminated(Stream, Boolean, 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,
	bool closeStream,
	Object tag,
	SocketCallBack callback
)
Public Sub BeginWritePeriodTerminated ( _
	stream As Stream, _
	closeStream As Boolean, _
	tag As Object, _
	callback As SocketCallBack _
)
public:
void BeginWritePeriodTerminated (
	Stream^ stream, 
	bool closeStream, 
	Object^ tag, 
	SocketCallBack^ callback
)
Parameters
stream (Stream)
Stream which data to write. Reading begins from stream current position and is readed to EOS.
closeStream (Boolean)
Specifies if stream is closed after write operation has completed.
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)