Type Aliasswift-nio 2.72.0NIOCore
Value
ChannelOption.swift:203typealias Value = CInt
typealias Value = CInt
s7NIOCore14ChannelOptionsV5TypesO19DatagramSegmentSizeV5Valuea
What are these?
FNV24: [2TJF4]
import NIOCore
The core abstractions that make up SwiftNIO.
struct DatagramSegmentSize
DatagramSegmentSize
controls the UDP_SEGMENT
socket option (sometimes reffered to as ‘GSO’) which allows for large writes to be sent via sendmsg
and sendmmsg
and segmented into separate datagrams by the kernel (or in some cases, the NIC). The size of segments the large write is split into is controlled by the value of this option (note that writes do not need to be a multiple of this option).
struct ChannelOptions
Provides ChannelOption
s to be used with a Channel
, Bootstrap
or ServerBootstrap
.
enum Types
typealias CInt = Int32
The C ‘int’ type.
init()