SocketSettings Type
A container for the socket settings.
Remarks
This type is a container for socket-layer parameters.
Fields
DNSMode DNSResolveModes |
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 constructor()
Creates a new SocketSettings object.