Instance Methodswift-nio 2.72.0NIOCore
getIPv6MulticastHops
Gets the value of the socket option IPV6_MULTICAST_HOPS.
SocketOptionProvider.swift:271func getIPv6MulticastHops() -> EventLoopFuture<CInt>
Returns
An EventLoopFuture
containing the value of the socket option, or any error that occurred while retrieving the socket option.
Other members in extension
Instance members
func getIPMulticastIF(
) -> EventLoopFuture<in_addr> Gets the value of the socket option IP_MULTICAST_IF.
func getIPMulticastLoop(
) -> EventLoopFuture<CUnsignedChar> Gets the value of the socket option IP_MULTICAST_LOOP.
func getIPMulticastTTL(
) -> EventLoopFuture<CUnsignedChar> Gets the value of the socket option IP_MULTICAST_TTL.
func getIPv6MulticastIF(
) -> EventLoopFuture<CUnsignedInt> Gets the value of the socket option IPV6_MULTICAST_IF.
func getIPv6MulticastLoop(
) -> EventLoopFuture<CUnsignedInt> Gets the value of the socket option IPV6_MULTICAST_LOOP.
func getMPTCPInfo(
) -> EventLoopFuture<mptcp_info> Gets the value of the socket option MPTCP_INFO.
func getSoLinger(
) -> EventLoopFuture<linger> Gets the value of the socket option SO_LINGER.
func getTCPInfo(
) -> EventLoopFuture<tcp_info> Gets the value of the socket option TCP_INFO.
func setIPMulticastIF(in_addr
) -> EventLoopFuture<Void> Sets the socket option IP_MULTICAST_IF to
value
.func setIPMulticastLoop(CUnsignedChar
) -> EventLoopFuture<Void> Sets the socket option IP_MULTICAST_LOOP to
value
.func setIPMulticastTTL(CUnsignedChar
) -> EventLoopFuture<Void> Sets the socket option IP_MULTICAST_TTL to
value
.func setIPv6MulticastHops(CInt
) -> EventLoopFuture<Void> Sets the socket option IPV6_MULTICAST_HOPS to
value
.func setIPv6MulticastIF(CUnsignedInt
) -> EventLoopFuture<Void> Sets the socket option IPV6_MULTICAST_IF to
value
.func setIPv6MulticastLoop(CUnsignedInt
) -> EventLoopFuture<Void> Sets the socket option IPV6_MULTICAST_LOOP to
value
.func setSoLinger(linger
) -> EventLoopFuture<Void> Sets the socket option SO_LINGER to
value
.