RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TIpSocket.ReceiveFrom Method

Receives a packet of information.

Pascal
function ReceiveFrom(var buf; bufsize: Integer; ToAddr: TSockAddr; var len: Integer; flags: Integer = 0): Integer;
C++
__fastcall int ReceiveFrom( buf, int bufsize, TSockAddr ToAddr, int len, int flags = 0);

Use ReceiveFrom to receive a single packet of information. Note that information in the packet is not checked for length, completeness, and such, which occurs at a higher level. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!