Example: lrs_set_send_bufferBuffer Functions

Specifies the buffer to send.

int lrs_set_send_buffer( char *s_desc, char *buffer, int size );
s_desc A descriptor identifying a socket.
buffer A pointer to the buffer containing the data to be sent.
size The size of the data to send in bytes.

The lrs_set_send_buffer function specifies the buffer to send in the next call to lrs_send. The buffer specified in lrs_set_send_buffer is sent, and not the buffer designated in the lrs_send function.

This function is not recorded during a WinSock session—you manually insert it into your script

Return Values

Windows Sockets Return Values


You cannot use standard parameterization for any arguments in this function.