System.Net.Socket.TSocket.EndSendTo

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function EndSendTo(const AAsyncResult: IAsyncResult): Integer; inline;

C++

int __fastcall EndSendTo(const System::Types::_di_IAsyncResult AAsyncResult);

Properties

Type Visibility Source Unit Parent
function public
System.Net.Socket.pas
System.Net.Socket.hpp
System.Net.Socket TSocket

Description

Sends previously specified data to a previously specified endpoint using the specified result returned by a previous call to BeginSendTo.

Calls to EndSendTo block the caller until your data is sent. However, you should call EndSendTo only after you receive a callback from a previous call to BeginSendTo, so the call should return immediately.

Exceptions

EndSendTo re-raises any exceptions that the asynchronous call to SendTo may raise. See TSocket.SendTo, Exceptions.

See Also