Internet Direct (Indy) Version 9.0.1 Beta
|
procedure DoUDPRead(AData: TStream; ABinding: TIdSocketHandle); override;
DoUDPRead calls the inhertied DoUDPRead method, and generates the OnRequest event notification for the connection. DoUDPRead creates a private TIdUDPClient instance that acts as a surrogate connection to the remote system identified in MappedHost and MappedPort. DoUDPRead attempts to read all of the remaining contents in AData, transmit the data, and read any response from the remote system. If a response is received, the value is send to peer connection in ABinding.