GServeFileProc
Indy optimized file transfer routine for Windows NT.
Unit
Parameters
AFileName
FIle name to be transmitted.
ASocket
Socket descriptor for the connection.
Return Value
Cardinal - FIle size in bytes.
Description
GServeFileProc is a Cardinal function that represents the routine used to perform optimized file transmission under Windows NT. GServeFile uses 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.