ObjFW  Diff

Differences From Artifact [005150c49e]:

To Artifact [5f0f9a4d52]:


74
75
76
77
78
79
80
81

82
83
84
85
86
87
88
74
75
76
77
78
79
80

81
82
83
84
85
86
87
88







-
+







{
	OFDictionary OF_GENERIC(OFString *, OFArray OF_GENERIC(OFString *) *)
	    *_staticHosts;
	OFArray OF_GENERIC(OFString *) *_nameServers;
	OFString *_Nullable _localDomain;
	OFArray OF_GENERIC(OFString *) *_searchDomains;
	of_time_interval_t _timeout;
	unsigned int _maxRetries;
	unsigned int _maxAttempts;
	size_t _minNumberOfDotsInAbsoluteName;
	bool _usesTCP;
	of_time_interval_t _configReloadInterval;
	OFDate *_lastConfigReload;
	OFUDPSocket *_IPv4Socket;
#ifdef OF_HAVE_IPV6
	OFUDPSocket *_IPv6Socket;
119
120
121
122
123
124
125
126

127
128

129
130

131
132
133
134
135
136
137
119
120
121
122
123
124
125

126
127

128
129

130
131
132
133
134
135
136
137







-
+

-
+

-
+







/*!
 * @brief The timeout, in seconds, after which the next name server should be
 *	  tried.
 */
@property (nonatomic) of_time_interval_t timeout;

/*!
 * @brief The number of retries after which to give up resolving a host.
 * @brief The number of attempts before giving up to resolve a host.
 *
 * Trying all name servers once is considered a single retry.
 * Trying all name servers once is considered a single attempt.
 */
@property (nonatomic) unsigned int maxRetries;
@property (nonatomic) unsigned int maxAttempts;

/*!
 * @brief The minimum number of dots for a name to be considered absolute.
 */
@property (nonatomic) size_t minNumberOfDotsInAbsoluteName;

/*!