Back to product page

Send method


Sends data to server.

Syntax

  • Basic
object.Send (Data)
The Send(object,Data) syntax has these parts:
objectAn expression evaluating to an object of type wodTelnetDLX
DataA Variant value. Data to be sent, anything of these types: Boolean, Integer, Long, String, Byte array.

Remarks

Send method is used to send arbitrary data to server during connection. Depending on protocol currently used, wodTelnetDLX will internally change data so it will be received properly on remote side.

For example, if SSH or SSL protocols are used, it will encrypt it. Data parameter can be one of following types: Boolean, Integer, Long, String, Byte array. wodTelnetDLX will internally 'convert' it to structure suitable for transport.

Amount of data sent by one call to Send method can be of any size - although it is suggested that no more than 64k should be sent at once. Rather, use Send method several times, so internal buffers can be properly initialized. This is significant for SSH and SSL protocol types.

Platforms

Windows