sktSendData

This method dispatches data to the remote computer. When a UNICODE string is passed in, it is converted to an ANSI string before being sent out on the network.

Syntax:        oSocket.sktSendData(vData)

vData         (Variant) Data to be sent. For binary data, byte array should be used.

Group :Socket Object

Example:

Dim WithEvents oSocket As Socket ' module level Dim

Set oSocket = New Socket

oSocket.sktSendData("Hello world.")