We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
SocketAddress
1 parent b5897cc commit 7a75f2fCopy full SHA for 7a75f2f
1 file changed
Sources/Socket/System/SocketAddress.swift
@@ -8,15 +8,15 @@ public protocol SocketAddress: Sendable {
8
9
/// Unsafe pointer closure
10
func withUnsafePointer<Result, Error>(
11
- _ body: (UnsafePointer<CInterop.SocketAddress>, UInt32) throws(Error) -> Result
+ _ body: (UnsafePointer<CInterop.SocketAddress>, CInterop.SocketLength) throws(Error) -> Result
12
) rethrows -> Result where Error: Swift.Error
13
14
static func withUnsafePointer(
15
_ pointer: UnsafeMutablePointer<CInterop.SocketAddress>
16
) -> Self
17
18
19
- _ body: (UnsafeMutablePointer<CInterop.SocketAddress>, UInt32) throws -> ()
+ _ body: (UnsafeMutablePointer<CInterop.SocketAddress>, CInterop.SocketLength) throws -> ()
20
) rethrows -> Self
21
}
22
0 commit comments