# GetTCPSystemErrorString

char *GetTCPSystemErrorString (void);

## Purpose

Obtains a system message that describes the error that caused a TCP Support Library function to fail. The messages that GetTCPSystemErrorString returns can be more descriptive than the error codes the TCP Support Library functions return.

To obtain the correct system error message, you must call GetTCPSystemErrorString immediately after you call the function that failed.

## Parameters

None.

## Return Value

Name | Type | Description
errorMsgString | string | System error message string.