TsgcQUICClient › Properties › Port

Port Property

UDP port used to connect to the QUIC server.

Syntax

property Port: Integer read FPort write FPort;

Default Value

0

Remarks

QUIC runs over UDP, so Port is the UDP port of the remote server. Set it together with Host before opening the connection. QUIC servers commonly listen on port 443, the same port number used by HTTPS and HTTP/3.

Example


oClient := TsgcQUICClient.Create(nil);
oClient.Host := 'www.example.com';
oClient.Port := 443;

Back to Properties