PeerSocketOptions

Represents TCP client or UDP socket options

Properties

Link copied to clipboard

Socket incoming buffer size (SO_RCVBUF), -1 or 0 to make system decide

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

Socket ougoing buffer size (SO_SNDBUF), -1 or 0 to make system decide

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