SocketOptions

sealed class SocketOptions

Socket options builder

Types

Link copied to clipboard

TCP server socket options

Link copied to clipboard
object Companion
Link copied to clipboard

Represents TCP client or UDP socket options

Link copied to clipboard

Represents TCP client socket options

Link copied to clipboard

Represents UDP socket options

Properties

Link copied to clipboard
var reuseAddress: Boolean = false

SO_REUSEADDR option

Link copied to clipboard
var reusePort: Boolean = false

SO_REUSEPORT option, may not work with old JDK (will be silently ignored)

Link copied to clipboard

ToS value, TypeOfService.UNDEFINED by default, may not work with old JDK (will be silently ignored)

Inheritors

Link copied to clipboard
Link copied to clipboard