This method is used to send data on a connected socket.
The data will be sent to the endpoint that was specified in the call to connect.
- Parameters
-
| pBuffer | [ in ]A pointer to a buffer containing the data to send. |
| cBuffer | [ in ] The number of bytes in pBuffer to send. |
| pcBytesSent | [ out ] The address of a P6UINT32 in which will be placed the number of bytes sent. |
| timeout | [ in ] The time as a P6INTERVAL to wait for the data to be sent. |
- Returns
| Success | eOk | |
| Failure | eNotInitialized | The initialize() method was not called successfully before calling this method. |
| P6R::eInvalidArg | One of the agruments was NULL |
| P6R::eTimeout | There was no data sent within the specfied time period. |
| Any valid P6ERR. | |