Internet Direct (Indy) Version 9.0.1 Beta
TIdServeFile
Function type for an optimized file transmission procedure.

TIdServeFile = function (ASocket: TIdStackSocketHandle; AFileName: string): cardinal;
Description
TIdServeFile is a Cardinal function type that represents the function used to perform file transmission. TIdServeFile abstracts the ServeFile function under Windows NT that is optimized for sequential read-only access. GServeFile is the application global instance of the function for Indy.