Write a string of characters to a client.
An integer value which specifies the number of characters actually written to the client. If an error occurs, a value of -1 is returned and the application should check the value of the LastError property to determine the cause of the failure.
The Write method sends a string of characters to a client. If there is enough room in the socket's internal send buffer to accommodate all of the data, it is copied to the send buffer and control immediately returns to the caller. If amount of data exceeds the available buffer space the method will block the current thread until the data can be sent.