udpclient.Active:=true;
udpclient.Sendln(cmd,#$D);
if udpclient.Connect then
begin
data:=udpclient.Receiveln(#$D);
end;
udpclient.Active:=False;
时间: 2024-10-05 07:46:25
udpclient.Active:=true;
udpclient.Sendln(cmd,#$D);
if udpclient.Connect then
begin
data:=udpclient.Receiveln(#$D);
end;
udpclient.Active:=False;