below you find the procedure in unit sgcUDP_Client;
I think the Write(Host,Port...) should be replaced by Write(aIPAddress....)
see below:
procedure TsgcUDPCLient_Base.DoWriteData(const aIPAddress: string; aPort: Word;
const aValue: string);
begin
{$IFDEF SGC_DTLS}
if DTLS then
DTLSHandler.Write(aIPAddress,aPort,sgcGetBytesFromUTF8String(aValue))
// DTLSHandler.Write(Host, Port, sgcGetBytesFromUTF8String(aValue))
else
{$ENDIF}
UDPSocket.DoWriteData(aIPAddress, aPort, aValue);
end;
Please login to post a reply
You will need to be logged in to be able to post a reply. Login using the form on the right or register an account if you are new here. Register Here »