RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomWinSocket.RemoteHost Property

Specifies the name of the remote system.

Pascal
property RemoteHost: string;
C++
__property AnsiString RemoteHost;

Use RemoteHost to get the name of the system on the other end of the socket connection. RemoteHost is a string containing the domain name and service of the remote endpoint of the socket connection, such as

http://www.wSite.Com

LocalHost provides an alias for the local IP address given in the RemoteAddress property. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!