Initializerswift-nio 2.95.0NIOPosix
init(cid:port:)
Creates a new vsock address.
init(cid: VsockAddress.ContextID, port: VsockAddress.Port) Creates a new vsock address.
init(cid: VsockAddress.ContextID, port: VsockAddress.Port) s8NIOPosix12VsockAddressV3cid4portA2C9ContextIDV_AC4PortVtcfc What are these?1RPULimport NIOPosixPlatform-specific implementations of SwiftNIO abstractions for POSIX systems.
struct VsockAddressA vsock socket address.
struct ContextIDA vsock Context Identifier (CID).
struct PortA vsock port number.
var cid: VsockAddress.ContextIDThe context ID associated with the address.
var description: String { get }var port: VsockAddress.PortThe port associated with the address.
func withSockAddr<T>(_ body: (UnsafePointer<sockaddr>, Int) throws -> T) rethrows -> T