SocketSettings Type
A container for the socket settings.
Remarks
This type is a container for socket-layer parameters.
Fields
DNSMode int |
Selects the DNS resolver to use: the component's (secure) built-in one, or the one provided by the system.
| ||||||||
DNSPort int |
Specifies the port number to be used for sending queries to the DNS server. | ||||||||
DNSQueryTimeout int |
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 int |
The timeout (in milliseconds) for the whole resolution process. The value of 0 indicates the infinite timeout. | ||||||||
IncomingSpeedLimit int |
The maximum number of bytes to read from the socket, per second. | ||||||||
LocalAddress String |
The local network interface to bind the socket to. | ||||||||
LocalPort int |
The local port number to bind the socket to. | ||||||||
OutgoingSpeedLimit int |
The maximum number of bytes to write to the socket, per second. | ||||||||
Timeout int |
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
public SocketSettings();
Creates a new SocketSettings object.