class TCPClientSocketOptions : PeerSocketOptions
Represents TCP client socket options
var keepAlive: Boolean?
SO_KEEPALIVE option is to enable/disable TCP keep-alive |
|
var lingerSeconds: Int
SO_LINGER option applied at socket close, not recommended to set to 0 however useful for debugging
Value of |
|
var noDelay: Boolean
TCP_NODELAY socket option, useful to disable Nagle |
|
var socketTimeout: Long
Socket timeout (read and write). |
var receiveBufferSize: Int
Socket incoming buffer size (SO_RCVBUF), |
|
var sendBufferSize: Int
Socket ougoing buffer size (SO_SNDBUF), |
fun copyCommon(from: SocketOptions): Unit |