Class SocketOptions

Standard Berkeley socket style options.

nodejs only.

Hierarchy

  • NativeResource
    • SocketOptions

Constructors

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

Generated using TypeDoc