procedure StartReceive;
Tells the protocol to start receiving files.
The steps leading up to calling StartReceive look something like this:
1.Create a port component
2.Create a protocol component
3.Set ProtocolType
4.Set other properties to customize the protocol
5.Write suitable handlers for protocol events
6.Call StartReceive
StartReceive returns immediately and receives files in the background, occasionally generating events to keep the application apprised of progress. When the protocol is finished, either successfully or with a fatal error, it generates an OnProtocolFinish event and its InProgress property starts returning False.
See also: ProtocolType, StartTransmit