Admin Production ni-theme
Current Publication

InetTelnetClose

LabWindows/CVI

InetTelnetClose

int InetTelnetClose (int telnetHandle);

Purpose

Closes the connection associated with the specified Telnet handle.

Returns 0 if successful or a negative error code otherwise.

Parameters

Input
Name Type Description
telnetHandle int An integer handle identifying the Telnet connection. You can call InetTelnetOpen to obtain this handle.

Return Value

Name Type Description
result int Return value indicating whether the function was successful. A negative number indicates that an error occurred.

Additional Information

Library: Internet Library

Include file: cvintwrk.h

LabWindows/CVI compatibility: LabWindows/CVI 7.1 and later

Example

Refer to internet\telnet\telnet.cws for an example of using the InetTelnetClose function.