Dart Tcp, Daemon, Udp Controls
Write Method
Initialized String or Byte Array.  Where data is being written from.
Specifies how much data is to be written.
Description
Write one or more bytes to the stream. Writing starts at the Position property. Set Position to change the position.
Syntax
Visual Basic
Public Function Write( _
   ByVal Buffer As Variant, _
   Optional ByVal Count As Long = 0 _
) As Long
Parameters
Buffer
Initialized String or Byte Array.  Where data is being written from.
Count
Specifies how much data is to be written.
Return Value
Indicates how much data was written.
Remarks

If the Count parameter is omitted, then this method writes the entire contents of the Buffer parameter. After the data is written the Position is advanced Count bytes.

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