lrs_exclude_socket

Example: lrs_exclude_socketSockets Functions

Excludes all operations for a specific socket.

int lrs_exclude_socket( char *s_desc );
s_desc A descriptor identifying a socket.

The lrs_exclude_socket function excludes all operations for the specified socket. All functions within your script that use the specified socket are ignored from the point of the function and onward. It is recommended that you put this function in the vuser_init section of your script. The exclusion applies to socket functions in all sections of the script.

This function is not recorded during a Windows Socket session and only applies to replay.

Return Values

Windows Sockets Return Values

Parameterization

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