Send Method

Send data to the remote host.

procedure Send(Text: TBytes);

Remarks

Calling this method is equivalent to setting the DataToSend property to Text.

Example (Send Data)


UDPPortControl.LocalPort = 8765 
UDPPortControl.RemotePort = 8765 
UDPPortControl.RemoteHost = "HostNameOrIPAddress"
UDPPortControl.Active = True
UDPPortControl.Send("Hello!")

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks 2020 Delphi Edition - Version 20.0 [Build 8307]