ICHMllpConnection Interface Properties Methods |
This object is passed as an argument for many of the events of the TCHMllpServer object.
Unit
CHMnet
Declaration
ICHMllpConnection = interface
Description
This class provides methods to interact with each discrete client connection.
See http://www.interfaceware.com/manual/network_components.html for more information.
Properties |
Id | A unique ID for all connection objects. |
RemoteHostName | This property will resolve the remoteIpAddress to the host name if possible using the operating system. Sometimes no host name resolution will be possible at which point this function will return 'unknown'. |
RemoteIpAddress | The IP address of the remote host in host byte order. |
RemoteIpAddressAsString | The IP address of the remote host as a string. |
Methods |
Disconnect | Attempt to gracefully disconnect from the server. |
HardDisconnect | Ungracefully disconnect without doing TCP/IP handshaking with the server. |
TransmitMessage | Send a message to the client, prefixed and postfixed by the current HeaderBlock and TrailerBlock characters. |