SecureBlackbox 2020 macOS Edition

Questions / Feedback?

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.

dmAuto0
dmPlatform1
dmOwn2
dmOwnSecure3

dnsPort
Int32

Specifies the port number to be used for sending queries to the DNS server.

dnsQueryTimeout
Int32

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
Int32

The timeout (in milliseconds) for the whole resolution process. The value of 0 indicates the infinite timeout.

incomingSpeedLimit
Int32

The maximum number of bytes to read from the socket, per second.

localAddress
String

The local network interface to bind the socket to.

localPort
Int32

The local port number to bind the socket to.

outgoingSpeedLimit
Int32

The maximum number of bytes to write to the socket, per second.

timeout
Int32

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
Bool

Enables or disables IP protocol version 6.

Constructors

public init()

Creates a new SocketSettings object.

Copyright (c) 2022 /n software inc. - All rights reserved.
SecureBlackbox 2020 macOS Edition - Version 20.0 [Build 8166]