LumiSoft Mail Server User API
ReadPeriodTerminated Method
Namespaces > LumiSoft.Net > SocketEx > ReadPeriodTerminated
Members

Icon | Member | Description
--- | --- | ---
| ReadPeriodTerminated(Int32) | Reads period terminated string. The data is terminated by a line containing only a period, that is, the character sequence "<CRLF>.<CRLF>". When a line of text is received, it checks the line. If the line is composed of a single period, it is treated as the end of data indicator. If the first character is a period and there are other characters on the line, the first character is deleted. If maximum allowed data length is exceeded data is read to end, but isn't stored to buffer and exception is thrown after data reading.
| ReadPeriodTerminated(Stream, Int32) | Reads period terminated data. The data is terminated by a line containing only a period, that is, the character sequence "<CRLF>.<CRLF>". When a line of text is received, it checks the line. If the line is composed of a single period, it is treated as the end of data indicator. If the first character is a period and there are other characters on the line, the first character is deleted. If maximum allowed data length is exceeded data is read to end, but isn't stored to stream and exception is thrown after data reading.

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