Internet Direct (Indy) Version 9.0.1 Beta
TIdGopherServer.SendDirectoryEntry
Send a Gopher menu item to the client.

procedure SendDirectoryEntry(Thread: TIdPeerThread; ItemType: Char; UserFriendlyName: String; RealResourceName: String; HostServer: String; HostPort: Integer);
Parameters
Thread: TIdPeerThread
The client connection to receive the Gopher item.

ItemType: Char
The Gopher item type constant.

UserFriendlyName: String
Name to display on client menus.

RealResourceName: String
Item selector or a hint for logging into a Telnet or TN3270 service.

HostServer: String
Gopher Server hosting the item.

HostPort: Integer
Port number for the host.

Description
SendDirectoryEntry is a procedure used to send a Gopher menu item to the client connection specified in AThread.

ItemType contains a constant that identifies the item type, as defined in GopherConsts.pas, and normally contains of the following values: