Skip to content

Commit adf06f2

Browse files
committed
network-typos: Fixed a few typos while reading through the Network SDK
1 parent 9f30ed6 commit adf06f2

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

stdlib/public/SDK/Network/NWConnection.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -483,7 +483,7 @@ public final class NWConnection : CustomDebugStringConvertible {
483483
/// in which case the send will be enqueued until the connection is ready to send.
484484
/// This is an asynchronous send and the completion block can be used to
485485
/// determine when the send is complete. There is nothing preventing a client
486-
/// from issuing an excessive number of outstanding sends. To minmize memory
486+
/// from issuing an excessive number of outstanding sends. To minimize memory
487487
/// footprint and excessive latency as a consequence of buffer bloat, it is
488488
/// advisable to keep a low number of outstanding sends. The completion block
489489
/// can be used to pace subsequent sends.

stdlib/public/SDK/Network/NWEndpoint.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -459,7 +459,7 @@ public enum NWEndpoint: Hashable, CustomDebugStringConvertible {
459459
/// A service endpoint represents a Bonjour service
460460
case service(name: String, type: String, domain: String, interface: NWInterface?)
461461

462-
/// A unix endpoint represnts a path that supports connections using AF_UNIX domain sockets.
462+
/// A unix endpoint represents a path that supports connections using AF_UNIX domain sockets.
463463
case unix(path: String)
464464

465465
/// A Host is a name or address

stdlib/public/SDK/Network/NWProtocolIP.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ public class NWProtocolIP : NWProtocol {
5252

5353
/// Specify a single version of the Internet NWProtocol to allow.
5454
/// Setting this value will constrain which address endpoints can
55-
/// be used, and will filter DNS results during connection establishement.
55+
/// be used, and will filter DNS results during connection establishment.
5656
public var version: Version {
5757
set {
5858
self._version = newValue

stdlib/public/SDK/Network/NWProtocolTLS.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ public class NWProtocolTLS : NWProtocol {
1919
public class Options : NWProtocolOptions {
2020
/// Access the sec_protocol_options_t for a given network protocol
2121
/// options instance. See <Security/SecProtocolOptions.h> for functions
22-
/// to futher configure security options.
22+
/// to further configure security options.
2323
public var securityProtocolOptions: sec_protocol_options_t {
2424
return nw_tls_copy_sec_protocol_options(self.nw)
2525
}
@@ -39,7 +39,7 @@ public class NWProtocolTLS : NWProtocol {
3939
public class Metadata: NWProtocolMetadata {
4040
/// Access the sec_protocol_metadata_t for a given network protocol
4141
/// metadata instance. See <Security/SecProtocolMetadata.h> for functions
42-
/// to futher access security metadata.
42+
/// to further access security metadata.
4343
public var securityProtocolMetadata: sec_protocol_metadata_t {
4444
return nw_tls_copy_sec_protocol_metadata(self.nw)
4545
}

0 commit comments

Comments
 (0)