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 integer An integer handle identifying the Telnet connection. You can call InetTelnetOpen to obtain this handle.

Return Value

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