Visual Basic: Winsock Control
SendData Method
See Also Example Applies To
Sends data to a remote computer.
Return Value
Void
Syntax
object.SendDatadata
The SendData method syntax has these parts
Part | Description |
object | An object expression that evaluates to an object in the Applies To list. |
data | Data to be sent. For binary data, byte array should be used. |
Remarks
When a UNICODE string is passed in, it is converted to an ANSI string before being sent out on the network.