System.Net.Socket.TSocket.EndReceiveString

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function EndReceiveString(const AAsyncResult: IAsyncResult): string;

C++

System::UnicodeString __fastcall EndReceiveString(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

Obtains data sent from the connected endpoint as a string.

Calls to EndReceiveString block the caller until it returns the requested data. However, you should call EndReceiveString only after you receive a callback from a previous call to BeginReceive, so the call should return immediately.

Exceptions

EndReceiveString re-raises any exceptions that the asynchronous call to the following methods may raise:

See Also