RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TIpSocket.SendTo Method

Sends a packet of information.

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

Use SendTo to send a single packet of information over the network. 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!