Dart Tcp, Daemon, Udp Controls
Write Method
Initialized String or Byte Array. Where data is being written from.
Optional. Specifies how much data is to be written.
Description
Write one or more bytes to the stream. Writing starts at 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
Optional. 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 FTP for ActiveX Documentation Version 2.2
© 2018 Dart Communications. All Rights Reserved.
Send comments on this topic