This method is used to send a datagram on a connected socket.
The datagram will be sent to the endpoint that was specified in the call to connect.
- Parameters
-
pBuffer | A pointer to a buffer containing the datagram to send |
cBuffer | The size in bytes of the datagram to send |
pcBytesSent | The address of a P6UINT32 in which will be placed the number of bytes sent. |
timeout | [ in ] The time in milliseconds to wait for the data to be sent. |
- Returns
Success | P6R::eOk | |
Failure | P6R::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 received within the specfied time period. |
Any valid P6ERR. | |