UDP Client
TsgcUDPClient component for sending and receiving UDP datagrams in Delphi applications.
TsgcUDPClient component for sending and receiving UDP datagrams in Delphi applications.
uses
sgcUDP_Client;
var
Client: TsgcUDPClient;
begin
Client := TsgcUDPClient.Create(nil);
Client.Host := '192.168.1.100';
Client.Port := 9000;
Client.OnUDPRead := HandleRead;
Client.Open;
Client.Send('Ping');
end;
Deep-link to the component reference, grab the ready-to-run demo project, and download the trial.