SocketSettings Type
A container for the socket settings.
Remarks
This type is a container for socket-layer parameters.
Fields
DNSMode TsbxDNSResolveModes |
Selects the DNS resolver to use: the component's (secure) built-in one, or the one provided by the system.
| ||||||||
DNSPort Integer |
Specifies the port number to be used for sending queries to the DNS server. | ||||||||
DNSQueryTimeout Integer |
The timeout (in milliseconds) for each DNS query. The value of 0 indicates the infinite timeout. | ||||||||
DNSServers String |
The addresses of DNS servers to use for address resolution, separated by commas or semicolons. | ||||||||
DNSTotalTimeout Integer |
The timeout (in milliseconds) for the whole resolution process. The value of 0 indicates the infinite timeout. | ||||||||
IncomingSpeedLimit Integer |
The maximum number of bytes to read from the socket, per second. | ||||||||
LocalAddress String |
The local network interface to bind the socket to. | ||||||||
LocalPort Integer |
The local port number to bind the socket to. | ||||||||
OutgoingSpeedLimit Integer |
The maximum number of bytes to write to the socket, per second. | ||||||||
Timeout Integer |
The maximum period of waiting, in milliseconds, after which the socket operation is considered unsuccessful. If Timeout is set to 0, a socket operation will expire after the system-default timeout (2 hrs 8 min for TCP stack). | ||||||||
UseIPv6 Boolean |
Enables or disables IP protocol version 6. |
Constructors
constructor Create();
Creates a new SocketSettings object.