Send

The Send function sends the data to Internet host.

Send data

Parameters

data
The string to send

Return value

If successful, the function returns True. Otherwise, False. To understand the reason of error you can use the LastError property.

Notes

The TCP/IP connection should previously be opened by calling the Open function.
Do not forget to place CR/LF pair of bytes in the end of the being sent string if that is required by appropriate RFC. In VB and VBScript you can use Chr(13)&Chr(10) expression.

Example
Every example from ASP examples contains this function callings.