SocketOption

public enum SocketOption : ChannelOption

SocketOption allows to specify configuration settings that are directly applied to the underlying socket file descriptor.

Valid options are typically found in the various man pages like man 4 tcp.

  • Undocumented

    Declaration

    Swift

    case const(SocketOption.AssociatedValueType)
  • Create a new SocketOption.

    Declaration

    Swift

    public init(level: SocketOptionLevel, name: SocketOptionName)
  • Declaration

    Swift

    public var value: (SocketOptionLevel, SocketOptionName) { get }