From 11:00 PM CST Friday, Apr 11th - 1:30 PM CST Saturday, Apr 12th, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabWindows/CVI

Content Type
Programming Language
Current manual

GetTCPSystemErrorString

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
errorMessage char * System error message string.

Additional Information

Library: TCP Support Library

Include file: tcpsupp.h

LabWindows/CVI compatibility: LabWindows/CVI 5.0 and later

Examples

Refer to the following examples that use the GetTCPSystemErrorString function:

  • tcp\client.cws

    Open example
  • tcp\message.cws

    Open example
  • tcp\MultiClientServer.cws

    Open example
  • tcp\MultiThreading.cws

    Open example
  • tcp\server.cws

    Open example
Was this information helpful?

Help us improve your future ni.com experience.

Did you find the documentation you were looking for?

Submit