Indy 9
GServeFileProc
See Also, Unit: IdStack
Indy optimized file transfer routine for Windows NT.
GServeFileProc: TIdServeFile  = nil;
Unit
IdStack
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.

Created with Doc-O-Matic 2 donated to Project JEDI. Commercial license available from the Doc-O-Matic site.