InetGetHostName method (ILEADRasterInet)

Visual Basic example

Visual C++ 5.0 example

 

Syntax

short InetGetHostName (short iComputer, InetAddressType Type);

Overview

Refer to Implementing Internet Functionality.

Remarks

This method retrieves the host name of iComputer (the computer that is connected at the other end). If iComputer is invalid, this method will generate an error.

Read the InetHostName property after calling this method to get host name.

See Also

Elements:

InetConnect method, InetConnected event, InetHostName property

Topics

Working with Internet Functionality: Sending and Receiving Data