• Connect to a LAN device.

    Parameters

    • fd: number

      A socket handle.

    • device: number

      The LAN device.

    • port: number

      A port number.

    • Optional tls: boolean

      If true, establish a TLS connection.

      A LAN device in local LAN can be detected through nDNS or uPNP. Because the IP of LAN device may change due to DHCP, Libertas Hub will keep tracking the actual IP address of each LAN device.

      Optional

    Returns void

Generated using TypeDoc