SocketBuilder

class SocketBuilder : 
    Configurable<SocketBuilder, SocketOptions>

Socket builder

Properties

options

var options: SocketOptions

Current socket options

Functions

tcp

fun tcp(): TcpSocketBuilder

Build TCP socket

udp

fun udp(): UDPSocketBuilder

Build UDP socket

Inherited Functions

configure

open fun configure(block: O.() -> Unit): T

Configure socket options in block function