Windows Sockets Vuser Functions (LRS) > Alphabetical List of Functions > lrs_get_user_buffer_size

lrs_get_user_buffer_size

Example: lrs_get_user_buffer_size Buffer Functions

Retrieves the size of the user data buffer.

long lrs_get_user_buffer_size( char *s_desc );
s_desc A descriptor identifying a socket.

The lrs_get_user_buffer_size function retrieves the size of the user data buffer for the specified socket.

Return Values

If this function fails, it returns NULL. If it succeeds, it returns a pointer to the converted buffer. You can also retrieve the converted buffer using lrs_get_user_buffer .

Parameterization

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