Standard Berkeley socket style options.

Provided for compatibility with nodejs, but this version is largely unused.

Hierarchy

  • SocketOptions

Constructors

  • Parameters

    • type: SocketType = SocketType.STREAM
    • domain: SocketDomain = SocketDomain.IPV6
    • connect_timeout_ms: number = 5000
    • keepalive: boolean = false
    • keep_alive_interval_sec: number = 0
    • keep_alive_timeout_sec: number = 0
    • keep_alive_max_failed_probes: number = 0

    Returns SocketOptions

Properties

connect_timeout_ms: number = 5000
domain: SocketDomain = SocketDomain.IPV6
keep_alive_interval_sec: number = 0
keep_alive_max_failed_probes: number = 0
keep_alive_timeout_sec: number = 0
keepalive: boolean = false
type: SocketType = SocketType.STREAM

Generated using TypeDoc