Dart Tcp, Daemon, Udp Controls
Read Method
Read one or more bytes from the stream. Reading starts at the Position property. Set Position to change the position.
Specifies how much data to read.
Description
Read one or more bytes from the stream. Reading starts at the Position property. Set Position to change the position.
Syntax
Visual Basic
Public Function Read( _
   ByRef Buffer As Variant, _
   Optional ByVal Count As Long = 0 _
) As Long
Parameters
Buffer
Read one or more bytes from the stream. Reading starts at the Position property. Set Position to change the position.
Count
Specifies how much data to read.
Return Value
Indicates how much data was read.
Remarks

If the Buffer parameter is omitted, then this method attempts to read all the data from the current position to the end of the stream. The position is advanced Count bytes upon completion.

Error Codes

This method may generate the following error code (refer to ErrorConstants for a complete list of error codes):

See Also

DartStream Object  | DartStream Members


PowerTCP SSL for ActiveX Documentation Version 2.2.1
© 2018 Dart Communications. All Rights Reserved.
Send comments on this topic