Initializerswift-nio 2.81.0NIOCore
init(rawValue:)
BSDSocketAPI.swift:154init(rawValue: RawValue)
init(rawValue: RawValue)
s7NIOCore12NIOBSDSocketO14ProtocolFamilyV8rawValueAEs5Int32V_tcfc
What are these?4H5DO
import NIOCore
The core abstractions that make up SwiftNIO.
struct ProtocolFamily
Specifies the type of protocol that the socket can use.
enum NIOBSDSocket
typealias RawValue = CInt
static let inet: NIOBSDSocket.ProtocolFamily
IP network 4 protocol.
static let inet6: NIOBSDSocket.ProtocolFamily
IP network 6 protocol.
static let local: NIOBSDSocket.ProtocolFamily
UNIX local to the host, alias for PF_UNIX
(.unix
)
static let unix: NIOBSDSocket.ProtocolFamily
UNIX local to the host.
var rawValue: RawValue