LabWindows/CVI

Content Type
Programming Language
Current manual

GetTCPErrorString

GetTCPErrorString

char *GetTCPErrorString (int errorNumber);

Purpose

Returns the error message associated with the TCP Support Library error code specified in the errorNumber parameter.

Parameters

Input
Name Type Description
errorNumber int An error code returned by a TCP Support Library function.

Return Value

Name Type Description
errorMessage char * The error message associated with the error code. Do not modify or free this string.

Additional Information

Library: TCP Support Library

Include file: tcpsupp.h

LabWindows/CVI compatibility: LabWindows/CVI 4.0 and later

Examples

Refer to the following examples that use the GetTCPErrorString function:

  • tcp\message.cws

    Open example
  • tcp\MultiClientServer.cws

    Open example
  • tcp\MultiThreading.cws

    Open example
  • tcp\server.cws

    Open example
Was this information helpful?