Structureswift-nio 2.81.0NIOCore
AddressFamily
Specifies the addressing scheme that the socket can use.
struct AddressFamily
Specifies the addressing scheme that the socket can use.
struct AddressFamily
import NIOCore
The core abstractions that make up SwiftNIO.
enum NIOBSDSocket
struct Option
Defines configuration option names.
struct OptionLevel
Defines socket option levels.
struct ProtocolFamily
Specifies the type of protocol that the socket can use.
typealias Handle = CInt
protocol Copyable
A type whose values can be implicitly or explicitly copied.
protocol Equatable
A type that can be compared for value equality.
protocol Escapable
protocol Hashable : Equatable
A type that can be hashed into a Hasher
to produce an integer hash value.
protocol RawRepresentable<RawValue>
A type that can be converted to and from an associated raw value.
protocol Sendable
init(rawValue: RawValue)
static let inet: NIOBSDSocket.AddressFamily
Address for IP version 4.
static let inet6: NIOBSDSocket.AddressFamily
Address for IP version 6.
static let unix: NIOBSDSocket.AddressFamily
Unix local to host address.
var rawValue: RawValue
typealias RawValue = CInt
var hashValue: Int { get }
static func != (lhs: Self, rhs: Self) -> Bool
Returns a Boolean value indicating whether two values are not equal.
func hash(into hasher: inout Hasher)
import NIOPosix
static var vsock: NIOBSDSocket.AddressFamily { get }
Address for vsock.