System.Tether.Comm.TTetheringNetworkServerCommUDP.BroadcastData
Delphi
procedure BroadcastData(const AData: TBytes; const AHost: string; InitialPort, FinalPort: Integer);
C++
void __fastcall BroadcastData(const System::DynamicArray<System::Byte> AData, const System::UnicodeString AHost, int InitialPort, int FinalPort);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | System.Tether.Comm.pas System.Tether.Comm.hpp |
System.Tether.Comm | TTetheringNetworkServerCommUDP |
Description
Broadcasts the given data to the specified host on all the ports in the specified port range.
The accepted parameters are:
AData
: Data to be broadcasted.AHost
: A specific host to broadcast the data to. If you pass an empty string for this parameter, the data is broadcasted to all the devices that are on the same local area network as your device.InitialPort
: Initial port for the port range.FinalPort
: Final port for the port range.