System.Net.Socket.TSocket.EndSend

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function EndSend(const AAsyncResult: IAsyncResult): Integer;

C++

int __fastcall EndSend(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 the connected endpoint using the specified result returned by a previous call to BeginSend.

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

Exceptions

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

See Also